Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (2 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 44: | Rivi 44: | ||
var days = parseInt('<!--{$days|default:365|escape:'html'}-->'); | var days = parseInt('<!--{$days|default:365|escape:'html'}-->'); | ||
var pointradius = parseInt('<!--{$pointradius|default:6|escape:'html'}-->'); | var pointradius = parseInt('<!--{$pointradius|default:6|escape:'html'}-->'); | ||
var obstypebar = ( | var obstypebar = ( "<!--{$obstypebar|default:yes|escape:'html'}-->" == "yes" ); | ||
var zoomto = ("<!--{$zoomto|default:false|escape:'html'}-->" == "true"); | var zoomto = ("<!--{$zoomto|default:false|escape:'html'}-->" == "true"); | ||
var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); | var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); | ||
| Rivi 71: | Rivi 71: | ||
}); | }); | ||
} | } | ||
console.log( "<!--{$obstypebar|default:yes|escape:'html'}-->" ); | |||
console.log( obstypebar ); | console.log( obstypebar ); | ||
| Rivi 83: | Rivi 85: | ||
'selectable': true, | 'selectable': true, | ||
'obstypebar': obstypebar, | 'obstypebar': obstypebar, | ||
'clustered': cluster, | |||
'pointRadius': pointradius, | |||
'simplepoints': simplepoints, | |||
'vesifi': vesifi, | 'vesifi': vesifi, | ||
'zoomToExtent': zoomto | 'zoomToExtent': zoomto | ||


