Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (7 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 6: | Rivi 6: | ||
<link rel="stylesheet" href="/scripts/ol-ext-10/dist/ol-ext.min.css" type="text/css"> | <link rel="stylesheet" href="/scripts/ol-ext-10/dist/ol-ext.min.css" type="text/css"> | ||
<script src="/scripts/ol-ext-10/dist/ol-ext.min.js"></script> | <script src="/scripts/ol-ext-10/dist/ol-ext.min.js"></script> | ||
<script src="/scripts/proj4js/dist/proj4.js"></script> | <script src="/scripts/proj4js/dist/proj4.js"></script> | ||
<script src="/scripts/jwol10js/jwol10.js"></script> | <script src="/scripts/jwol10js/jwol10.js"></script> | ||
<div class="jwMapContainer" style="height:<!--{$height|default:500px|escape:'html'}-->" > | <div class="jwMapContainer" style="height:<!--{$height|default:500px|escape:'html'}-->" > | ||
| Rivi 72: | Rivi 70: | ||
layersArr.push( obslayer ); | layersArr.push( obslayer ); | ||
console.log( obslayer ); | |||
// 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 82: | Rivi 78: | ||
'lat': lat, | 'lat': lat, | ||
'zoom': zoom, | 'zoom': zoom, | ||
'geolocation': true, | |||
'layers': layersArr, | 'layers': layersArr, | ||
'memo': memo | 'memo': memo | ||
}); | }); | ||
} | } | ||
</script> | </script> | ||
</includeonly> | </includeonly> | ||


