Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 58: | Rivi 58: | ||
layersArr.push( { | layersArr.push( { | ||
'id': 'muni', | 'id': 'muni', | ||
'type': ' | 'type': 'anygeo', | ||
'name': 'Kunta', | 'name': 'Kunta', | ||
'restUrl': '// | 'restUrl': '//inspire-wfs.maanmittauslaitos.fi/inspire-wfs/au', | ||
' | 'layer': 'au:AdministrativeUnit', | ||
'cql_filter': "nationalCode=%27" + muniNameToNumber( muni ) + "%27", | |||
'selectable': false, | 'selectable': false, | ||
'zoomToExtent': true, | 'zoomToExtent': true, | ||
'bbox': false, | 'bbox': false, | ||
'fillColor': 'rgba( 0, 0, 0, 0 | 'fillColor': 'rgba( 0, 0, 0, 0 )', | ||
'strokeColor': 'rgba( | 'strokeColor': 'rgba( 200, 100, 100, 0.5 )', | ||
'strokeWidth': 5 | 'strokeWidth': 5 | ||
//'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>', | ||
}); | }); | ||
} | } | ||
console.log( "<!--{$obstypebar|default:yes|escape:'html'}-->" ); | //console.log( "<!--{$obstypebar|default:yes|escape:'html'}-->" ); | ||
console.log( obstypebar ); | //console.log( obstypebar ); | ||
layersArr.push({ | layersArr.push({ | ||


