Ero sivun ”Widget:Ol3BaroMap” versioiden välillä
Järvi-meriwikistä
Rivi 12: | Rivi 12: | ||
<script src="/scripts/proj4js/dist/proj4.js"></script> | <script src="/scripts/proj4js/dist/proj4.js"></script> | ||
− | <script src="/scripts/jwol3js/ | + | <script src="/scripts/jwol3js/XXjwol3.js"></script> |
<div class="jwMapContainer" style="height:<!--{$height|default:500|escape:'html'}-->px" > | <div class="jwMapContainer" style="height:<!--{$height|default:500|escape:'html'}-->px" > | ||
Rivi 129: | Rivi 129: | ||
/* | /* | ||
layersArr.push({ | layersArr.push({ | ||
− | 'type': ' | + | 'type': 'alerts', |
'name': 'Varoitukset', | 'name': 'Varoitukset', | ||
//'siteSearch': "[[Alue::" + decodeURI(page) + "]]", | //'siteSearch': "[[Alue::" + decodeURI(page) + "]]", | ||
'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ObsCode::alert]]", | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ObsCode::alert]]", | ||
'obsDays': 100, | 'obsDays': 100, | ||
− | 'attribution': ' | + | 'attribution': 'Varoitukset: Järvi-meriwiki', |
'opacitySlider': false, | 'opacitySlider': false, | ||
'obstypebar': false, | 'obstypebar': false, |