Ero sivun ”Widget:Ol3BalticBasinMap” versioiden välillä
Järvi-meriwikistä
p (Tekstin korvaus – ”//www.jarviwiki.fi/scripts/” muotoon ”/scripts/”) |
|||
(4 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 49: | Rivi 49: | ||
'type': 'anyrest', | 'type': 'anyrest', | ||
'name': 'Itämeren allas', | 'name': 'Itämeren allas', | ||
− | 'restUrl': '//maps.helcom.fi/arcgis/rest/services/MADS/ | + | 'restUrl': '//maps.helcom.fi/arcgis/rest/services/MADS/Monitoring/MapServer/92/query', |
'search': 'SUBID=' + subid, | 'search': 'SUBID=' + subid, | ||
'zoomToExtent': true, | 'zoomToExtent': true, | ||
Rivi 59: | Rivi 59: | ||
else { search = ''; } | else { search = ''; } | ||
+ | /* | ||
layersArr.push({ | layersArr.push({ | ||
'type': 'anyrest', | 'type': 'anyrest', | ||
Rivi 69: | Rivi 70: | ||
}); | }); | ||
+ | */ | ||
− | |||
layersArr.push({ | layersArr.push({ | ||
'type': 'seabody', | 'type': 'seabody', | ||
'name': 'Merialue', | 'name': 'Merialue', | ||
− | 'search': " | + | 'search': "vhatunnus='" + vhaid + "'", |
//'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>', | ||
'visible': true, | 'visible': true, | ||
Rivi 84: | Rivi 85: | ||
'maxResolution': 1000 | 'maxResolution': 1000 | ||
}); | }); | ||
− | + | ||
− | layersArr.push({ 'type': 'geoloc', 'name': 'Sijaintisi', 'show': true, 'center': false, 'zoom': 12, 'track': false }); | + | //layersArr.push({ 'type': 'geoloc', 'name': 'Sijaintisi', 'show': true, 'center': false, 'zoom': 12, 'track': false }); |
// do the base map with these settings | // do the base map with these settings |