Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 58: | Rivi 58: | ||
var basinSearch = basinArr.join(' OR '); | var basinSearch = basinArr.join(' OR '); | ||
console.log( short ); | |||
layersArr.push( { | layersArr.push( { | ||
'id': 'vha', | 'id': 'vha', | ||
| Rivi 65: | Rivi 65: | ||
'restUrl': '//paikkatiedot.ymparisto.fi/geoserver/inspire_am1/wfs', | 'restUrl': '//paikkatiedot.ymparisto.fi/geoserver/inspire_am1/wfs', | ||
'layer': 'inspire_am1:AM.RiverBasinDistrict', | 'layer': 'inspire_am1:AM.RiverBasinDistrict', | ||
'cql_filter': " | 'cql_filter': "inspire_am1:nimi = '" + short + "'", | ||
'selectable': false, | 'selectable': false, | ||
'zoomToExtent': true, | 'zoomToExtent': true, | ||
| Rivi 88: | Rivi 88: | ||
'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>', | ||
}); | }); | ||
// do the base map with these settings | // do the base map with these settings | ||
var map = ol3_jwMakeMap({ | var map = ol3_jwMakeMap({ | ||


