Ero sivun ”Widget:Ol3AnyObsMap” versioiden välillä
Järvi-meriwikistä
Rivi 50: | Rivi 50: | ||
var zoomto = ("<!--{$zoomto|default:false|escape:'html'}-->" == "true"); | var zoomto = ("<!--{$zoomto|default:false|escape:'html'}-->" == "true"); | ||
var aggregate = ("<!--{$aggregate|default:true|escape:'html'}-->" == "true"); | var aggregate = ("<!--{$aggregate|default:true|escape:'html'}-->" == "true"); | ||
− | + | console.log( aggregate ); | |
var cluster = ( "<!--{$cluster|default:yes|escape:'html'}-->" == "yes" ); | var cluster = ( "<!--{$cluster|default:yes|escape:'html'}-->" == "yes" ); | ||
var layersArr = []; | var layersArr = []; | ||
− | + | ||
layersArr.push({ | layersArr.push({ | ||
'type': 'sitesNobses', | 'type': 'sitesNobses', |