Ero sivun ”Widget:Ol3CurObsMapICE-TEMP” 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”) |
|||
(Yhtä 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> | ||
<script src="/scripts/proj4js/dist/proj4.js"></script> | <script src="/scripts/proj4js/dist/proj4.js"></script> | ||
Rivi 67: | Rivi 67: | ||
'zoomToExtent': false | 'zoomToExtent': false | ||
}, | }, | ||
− | + | ||
{ | { | ||
'type': 'coo311', | 'type': 'coo311', | ||
Rivi 82: | Rivi 82: | ||
'zoomToExtent': false | 'zoomToExtent': false | ||
}, | }, | ||
+ | */ | ||
+ | { | ||
+ | 'type': 'sitesNobses', | ||
+ | 'name': 'Järvi-meriwikin jäätilanne', | ||
+ | 'siteSearch': '', | ||
+ | 'obsSearch': "[[obsCode::ice]]", | ||
+ | 'obsDays': days, | ||
+ | 'attribution': 'Havainnot: Järvi-meriwiki', | ||
+ | 'opacitySlider': false, | ||
+ | 'selectable': true, | ||
+ | 'obstypebar': false, | ||
+ | 'zoomToExtent': false | ||
+ | }, | ||
{ | { | ||
'type': 'sitesNobses', | 'type': 'sitesNobses', | ||
− | 'name': 'Järvi-meriwikin | + | 'name': 'Järvi-meriwikin pintaveden lämpötilanne', |
'siteSearch': '', | 'siteSearch': '', | ||
− | 'obsSearch': "[[obsCode:: | + | 'obsSearch': "[[obsCode::temp]]", |
'obsDays': days, | 'obsDays': days, | ||
'attribution': 'Havainnot: Järvi-meriwiki', | 'attribution': 'Havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
'selectable': true, | 'selectable': true, | ||
− | 'obstypebar': | + | 'obstypebar': false, |
'zoomToExtent': false | 'zoomToExtent': false | ||
− | } | + | } |
//{ 'type': 'geoloc', 'name': 'Sijaintisi', 'show': true, 'center': false, 'zoom': 12, 'track': false } | //{ 'type': 'geoloc', 'name': 'Sijaintisi', 'show': true, 'center': false, 'zoom': 12, 'track': false } | ||
], | ], |