Ero sivun ”Widget:Ol3AnyObsMap” versioiden välillä
Järvi-meriwikistä
Rivi 51: | Rivi 51: | ||
var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); | var simplepoints = ("<!--{$simplepoints|default:false|escape:'html'}-->" == "true"); | ||
var cluster = ( "<!--{$cluster|default:yes|escape:'html'}-->" == "yes" ); | var cluster = ( "<!--{$cluster|default:yes|escape:'html'}-->" == "yes" ); | ||
+ | var vesifi = ( "<!--{$vesifi|default:yes|escape:'html'}-->" == "yes" ); | ||
var layersArr = []; | var layersArr = []; | ||
Rivi 67: | Rivi 68: | ||
'pointRadius': pointradius, | 'pointRadius': pointradius, | ||
'simplepoints': simplepoints, | 'simplepoints': simplepoints, | ||
+ | 'vesifi': vesifi, | ||
'zoomToExtent': zoomto | 'zoomToExtent': zoomto | ||
}); | }); |