Ero sivun ”Widget:Ol3BaroMap” versioiden välillä
Järvi-meriwikistä
Rivi 127: | Rivi 127: | ||
}); | }); | ||
*/ | */ | ||
+ | |||
layersArr.push({ | layersArr.push({ | ||
− | 'type': ' | + | 'type': 'alerts', |
− | 'name': ' | + | 'name': 'Varoitukset', |
− | + | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ObsCode::alert]]", | |
− | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ | + | 'obsDays': 100, |
− | 'obsDays': | + | 'attribution': 'Varoitukset: Järvi-meriwiki', |
− | 'attribution': ' | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
'obstypebar': false, | 'obstypebar': false, | ||
'selectable': true, | 'selectable': true, | ||
+ | 'clustered': false, | ||
'zoomToExtent': false | 'zoomToExtent': false | ||
}); | }); | ||
layersArr.push({ | layersArr.push({ | ||
− | 'type': ' | + | 'type': 'sitesNobses', |
− | 'name': ' | + | 'name': 'Paikat ja havainnot', |
− | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ | + | //'siteSearch': "[[Alue::" + decodeURI(page) + "]]", |
− | 'obsDays': | + | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[obsCode::ice]]", |
− | 'attribution': ' | + | 'obsDays': 10, |
+ | 'attribution': 'Paikat ja havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
'obstypebar': false, | 'obstypebar': false, | ||
'selectable': true, | 'selectable': true, | ||
− | |||
'zoomToExtent': false | 'zoomToExtent': false | ||
}); | }); |