p (Tekstin korvaus – ”//layersArr.push({ 'type': 'geoloc', 'name': 'Sijaintisi', 'show': true, 'center': false, 'zoom': 12, 'track': false });↵” muotoon ””) |
Ei muokkausyhteenvetoa |
||
| (8 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 65: | Rivi 65: | ||
'bbox': false, | 'bbox': false, | ||
}); | }); | ||
var filterlayer = layersArr[ layersArr.length - 1 ]; | |||
layersArr.push( { | layersArr.push( { | ||
| Rivi 79: | Rivi 81: | ||
'strokeColor': 'orange', | 'strokeColor': 'orange', | ||
'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', | ||
'name': ' | 'name': 'Havainnot', | ||
'siteSearch': '', | 'siteSearch': '', | ||
'obsSearch': '[[ObsCode::alg]][[ELY-keskus::' + ely + ']]', | 'obsSearch': '[[ObsCode::alg]][[ELY-keskus::' + ely + ']]', | ||
'obsDays': 7, | 'obsDays': 7, | ||
'vesifi': false, | |||
//'attribution': 'Paikat ja havainnot: Järvi-meriwiki', | //'attribution': 'Paikat ja havainnot: Järvi-meriwiki', | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
| Rivi 97: | Rivi 116: | ||
// do the base map with these settings | // do the base map with these settings | ||
var map = | var map = jwMakeMap({ | ||
'container': '<!--{$id|default:ElyAlgalMap|escape:'html'}-->_container', | 'container': '<!--{$id|default:ElyAlgalMap|escape:'html'}-->_container', | ||
'base': base, | 'base': base, | ||


