p (Tekstin korvaus – ”//layersArr.push({ 'type': 'geoloc', 'name': 'Sijaintisi', 'show': true, 'center': false, 'zoom': 12, 'track': false });↵” muotoon ””) |
Ei muokkausyhteenvetoa |
||
(11 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 45: | Rivi 45: | ||
'id': 'elys', | 'id': 'elys', | ||
'type': 'anygeo', | 'type': 'anygeo', | ||
'name': ' | 'name': 'ELYt ilman ympäristövastuuta', | ||
'restUrl': '//geo.stat.fi/geoserver/tilastointialueet/', | 'restUrl': '//geo.stat.fi/geoserver/tilastointialueet/', | ||
'layer': 'tilastointialueet:ely1000k', | 'layer': 'tilastointialueet:ely1000k', | ||
'cql_filter': "tilastointialueet:id='03' OR tilastointialueet:id='12'", | |||
'fillColor': 'rgba( 100, 193, 203, 0.75 )', | |||
'selectable': true, | |||
'zoomToExtent': false, | |||
'bbox': false, | |||
'attribution': 'Maanmittauslaitos', | |||
}); | |||
layersArr.push( { | |||
'id': 'yelys', | |||
'type': 'anygeo', | |||
'name': 'Ympäristövastuu-ELYt', | |||
'restUrl': '//geo.stat.fi/geoserver/tilastointialueet/', | |||
'layer': 'tilastointialueet:ely1000k', | |||
'cql_filter': "tilastointialueet:id<>'03' AND tilastointialueet:id<>'12'", | |||
'fillColor': 'rgba( 132, 196, 151, 0.75 )', | |||
'selectable': true, | 'selectable': true, | ||
'zoomToExtent': true, | 'zoomToExtent': true, | ||
'bbox': false, | 'bbox': false, | ||
'attribution': 'Maanmittauslaitos', | |||
}); | }); | ||
// do the base map with these settings | // do the base map with these settings | ||
var map = | var map = jwMakeMap({ | ||
'container': '<!--{$id|default:CommonObsMap|escape:'html'}-->_container', | 'container': '<!--{$id|default:CommonObsMap|escape:'html'}-->_container', | ||
'base': base, | 'base': base, |