Ero sivun ”Widget:Ol3AnyObsMap” versioiden välillä
Järvi-meriwikistä
Rivi 49: | Rivi 49: | ||
var obstypebar = ("<!--{$obstypebar|default:yes|escape:'html'}-->" == "yes" ); | 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 = ("<!--{$ | + | var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); |
var cluster = ( "<!--{$cluster|default:yes|escape:'html'}-->" == "yes" ); | var cluster = ( "<!--{$cluster|default:yes|escape:'html'}-->" == "yes" ); | ||
Rivi 66: | Rivi 66: | ||
'clustered': cluster, | 'clustered': cluster, | ||
'pointRadius': pointradius, | 'pointRadius': pointradius, | ||
− | 'simplepoints': | + | 'simplepoints': simplepoints, |
'zoomToExtent': zoomto | 'zoomToExtent': zoomto | ||
}); | }); |