Ero sivun ”Widget:Ol3CurObsMapICE” versioiden välillä
Järvi-meriwikistä
Rivi 46: | Rivi 46: | ||
'layers': [ | 'layers': [ | ||
{ | { | ||
− | 'type': ' | + | 'type': 'coo311', |
− | 'name': ' | + | 'name': 'Vesi.fi-palvelun havainnot', |
− | ' | + | 'service_code': 'combined_ice_service_code_201806011206542', |
'obsSearch': "[[obsCode::" + obstype + "]]", | 'obsSearch': "[[obsCode::" + obstype + "]]", | ||
+ | 'hashtags': '_VesiFiObservation', | ||
'obsDays': days, | 'obsDays': days, | ||
+ | 'pointRadius': 8, | ||
+ | 'obsesColors': { 'type': 'cat', 'attribute': 'ice_combined_situation_singlevaluelist_201806011206544', 'values': [ { 'key': 1, 'color': 'light blue' }, { 'key': 2, 'color': 'white' }, { 'key': 3, 'color': 'white' }, { 'key': 4, 'color': 'white' }, { 'key': 5, 'color': 'light blue' }, { 'key': 6, 'color': 'light blue' } ] }, | ||
+ | 'obsesLabels': { 'type': 'num', 'attribute': 'ice_combined_thickness_number_201806011206545' }, | ||
//'attribution': 'Havainnot: Järvi-meriwiki', | //'attribution': 'Havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
Rivi 57: | Rivi 61: | ||
}, | }, | ||
{ | { | ||
− | 'type': ' | + | 'type': 'sitesNobses', |
− | 'name': ' | + | 'name': 'Järvi-meriwikin havainnot', |
− | ' | + | 'siteSearch': '', |
'obsSearch': "[[obsCode::" + obstype + "]]", | 'obsSearch': "[[obsCode::" + obstype + "]]", | ||
− | |||
'obsDays': days, | 'obsDays': days, | ||
− | |||
− | |||
− | |||
//'attribution': 'Havainnot: Järvi-meriwiki', | //'attribution': 'Havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, |