#19 OSM-Map Styling

This commit is contained in:
2020-09-29 20:21:27 +02:00
parent 1a8a7cc4f0
commit 9613f553e9
3 changed files with 24 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<div tabindex="1" id="map" class="map" style="height: 300px"></div>
<div id="info" class="map-popup"></div>
{% load static %}
<div tabindex="1" id="map" class="LP-Map map" style="height: 300px"></div>
<div id="info" class="map-popup LP-Map__Popup"></div>
<script type="text/javascript">
var map = new ol.Map({
@@ -38,7 +38,7 @@
anchorXUnits: 'fraction',
anchorYUnits: 'pixels',
scale: 0.3,
src: 'http://icons.iconarchive.com/icons/paomedia/small-n-flat/128/map-marker-icon.png'
src: '{% static "icons/map-marker-icon.png" %}'
})
})
});