Ero sivun ”Widget:Ol3BaroMap” versioiden välillä
Järvi-meriwikistä
p (Tekstin korvaus – ”//cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL” muotoon ”https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js”) |
|||
(11 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 2: | Rivi 2: | ||
<link rel="stylesheet" href="/scripts/ol3/ol.css" type="text/css"> | <link rel="stylesheet" href="/scripts/ol3/ol.css" type="text/css"> | ||
− | <script src="// | + | <script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js"></script> |
<script src="/scripts/ol3/ol.js"></script> | <script src="/scripts/ol3/ol.js"></script> | ||
<link rel="stylesheet" href="/scripts/ol-ext/dist/ol-ext.min.css" type="text/css"> | <link rel="stylesheet" href="/scripts/ol-ext/dist/ol-ext.min.css" type="text/css"> | ||
<script src="/scripts/ol-ext/dist/ol-ext.min.js"></script> | <script src="/scripts/ol-ext/dist/ol-ext.min.js"></script> | ||
+ | <!-- | ||
<link rel="stylesheet" href="/scripts/ol-ext/overlay/popupoverlay.css" /> | <link rel="stylesheet" href="/scripts/ol-ext/overlay/popupoverlay.css" /> | ||
<link rel="stylesheet" href="/scripts/ol-ext/overlay/popupoverlay.anim.css" /> | <link rel="stylesheet" href="/scripts/ol-ext/overlay/popupoverlay.anim.css" /> | ||
− | + | --> | |
<script src="/scripts/proj4js/dist/proj4.js"></script> | <script src="/scripts/proj4js/dist/proj4.js"></script> | ||
− | <script src="/scripts/jwol3js/ | + | <script src="/scripts/jwol3js/jwol3.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 126: | Rivi 127: | ||
'zoomToExtent': false | 'zoomToExtent': false | ||
}); | }); | ||
− | */ | + | */ |
− | + | ||
layersArr.push({ | layersArr.push({ | ||
'type': 'alerts', | 'type': 'alerts', | ||
'name': 'Varoitukset', | 'name': 'Varoitukset', | ||
− | |||
'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ObsCode::alert]]", | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[ObsCode::alert]]", | ||
− | 'obsDays': | + | 'obsDays': 150, |
'attribution': 'Varoitukset: Järvi-meriwiki', | 'attribution': 'Varoitukset: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
Rivi 141: | Rivi 141: | ||
'zoomToExtent': false | 'zoomToExtent': false | ||
}); | }); | ||
− | + | ||
layersArr.push({ | layersArr.push({ | ||
'type': 'sitesNobses', | 'type': 'sitesNobses', | ||
Rivi 147: | Rivi 147: | ||
//'siteSearch': "[[Alue::" + decodeURI(page) + "]]", | //'siteSearch': "[[Alue::" + decodeURI(page) + "]]", | ||
'obsSearch': "[[Alue::" + decodeURI(page) + "]][[obsCode::ice]]", | 'obsSearch': "[[Alue::" + decodeURI(page) + "]][[obsCode::ice]]", | ||
− | 'obsDays': | + | 'obsDays': 7, |
'attribution': 'Paikat ja havainnot: Järvi-meriwiki', | 'attribution': 'Paikat ja havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, |