Ero sivun ”Widget:Ol3SiteMapX” versioiden välillä
Järvi-meriwikistä
Rivi 46: | Rivi 46: | ||
function gotCoords(request) { | function gotCoords(request) { | ||
− | + | ||
for (var x in request.query.results) { | for (var x in request.query.results) { | ||
var resultItem = request.query.results[x].printouts; break; | var resultItem = request.query.results[x].printouts; break; | ||
Rivi 73: | Rivi 73: | ||
'siteSearch': "[[SiteID::" + siteid + "]]", | 'siteSearch': "[[SiteID::" + siteid + "]]", | ||
'obsSearch': "[[SiteID::" + siteid + "]][[obsCode::ice||snow||temp||alg]]", | 'obsSearch': "[[SiteID::" + siteid + "]][[obsCode::ice||snow||temp||alg]]", | ||
+ | 'vesifi': false, | ||
'obsDays': 10, | 'obsDays': 10, | ||
'opacitySlider': false, | 'opacitySlider': false, | ||
Rivi 79: | Rivi 80: | ||
attribution: '' | attribution: '' | ||
}); | }); | ||
− | + | ||
− | |||
− | |||
− | |||
// do the base map with these settings | // do the base map with these settings | ||
var map = ol3_jwMakeMap({ | var map = ol3_jwMakeMap({ |