Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (3 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 11: | Rivi 11: | ||
<script src="/scripts/jwol10js/jwol10.js"></script> | <script src="/scripts/jwol10js/jwol10.js"></script> | ||
<div class="jwMapContainer" style="height:<!--{$height|default: | <div class="jwMapContainer" style="height:<!--{$height|default:500px|escape:'html'}-->" > | ||
<div style="height: 100%; width: 100%; position: relative;" id="<!--{$id|default:CommonObsMap|escape:'html'}-->_container"></div> | <div style="height: 100%; width: 100%; position: relative;" id="<!--{$id|default:CommonObsMap|escape:'html'}-->_container"></div> | ||
</div> | </div> | ||
| Rivi 53: | Rivi 53: | ||
//'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 = | var map = jwMakeMap({ | ||
'container': '<!--{$id|default:CommonObsMap|escape:'html'}-->_container', | 'container': '<!--{$id|default:CommonObsMap|escape:'html'}-->_container', | ||
'base': base, | 'base': base, | ||
| Rivi 63: | Rivi 61: | ||
'lat': lat, | 'lat': lat, | ||
'zoom': zoom, | 'zoom': zoom, | ||
'geolocation': true, | |||
'layers': layersArr, | 'layers': layersArr, | ||
'memo': memo | 'memo': memo | ||


