p (Molindho siirsi sivun Widget:Ol3ElyMap uudelle nimelle Widget:Ol10ElyMap luomatta ohjausta: Tekstin korvaus – ”Ol3” muotoon ”Ol10”) |
Ei muokkausyhteenvetoa |
||
| Rivi 64: | Rivi 64: | ||
//'attribution': '<a href="//wwwp2.ymparisto.fi/kayttoehdot.html">Ympäristöhallinnon paikkatietoaineistot</a>', | //'attribution': '<a href="//wwwp2.ymparisto.fi/kayttoehdot.html">Ympäristöhallinnon paikkatietoaineistot</a>', | ||
}); | }); | ||
var filterlayer = layersArr[ layersArr.length - 1 ]; | |||
/* | /* | ||
layersArr.push( { | layersArr.push( { | ||
| Rivi 92: | Rivi 95: | ||
//'zoomToExtent': false | //'zoomToExtent': false | ||
} ); | } ); | ||
*/ | */ | ||
layersArr.push({ | |||
'type': 'coo311', | |||
'name': 'Vesi.fi-havainnot', | |||
'service_code': 'algaebloom_service_code_201808151546171', | |||
'hashtags': '_VesiFiObservation', | |||
'days': 7, | |||
'selectable': true, | |||
'clustered': false, | |||
'pointRadius': 8, | |||
'obsesColors': { type: 'cat', 'attribute': 'algaebloom_singlevaluelist_201808151546174', values: [ { key: 1, color: '#308fb3' }, { key: 2, color: '#8db335' }, { key: 3, color: '#f1cb00' }, { key: 4, color: '#ce0000' } ] }, | |||
'obstypebar': false, | |||
'zoomToExtent': false, | |||
'filter': filterlayer, | |||
'visible': true | |||
}); | |||
layersArr.push( { | layersArr.push( { | ||
'type': 'sitesNobses', | 'type': 'sitesNobses', | ||
| Rivi 99: | Rivi 119: | ||
'obsSearch': '[[ELY-keskus::' + page + ']][[obsCode::ice||snow||temp||alg]]', | 'obsSearch': '[[ELY-keskus::' + page + ']][[obsCode::ice||snow||temp||alg]]', | ||
'obsDays': 7, | 'obsDays': 7, | ||
'vesifi': false, | |||
//'attribution': 'Havainnot: Järvi-meriwiki', | //'attribution': 'Havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, | ||


