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”) |
|||
(6 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/jwol3.js"></script> | + | <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 132: | Rivi 133: | ||
'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 146: | 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, |