Compare commits

...

2 Commits

Author SHA1 Message Date
a660763ea4 Corrected map_center_coords variables. 2020-08-20 22:08:35 +02:00
55fe79b82c Added missing ol.js.map. 2020-08-20 22:02:47 +02:00
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,9 +5,9 @@
{% block maincontent %} {% block maincontent %}
{% include 'partials/osm_map.html' %}
<div class="LP-PlaceGrid"> <div class="LP-PlaceGrid">
<h1 class="LP-Headline LP-Headline">Explore the latest locations</h1> <h1 class="LP-Headline LP-Headline">Explore the latest locations</h1>
{% include 'partials/osm_map.html' %}
<ul class="LP-PlaceGrid__Grid"> <ul class="LP-PlaceGrid__Grid">
{% for place in place_list %} {% for place in place_list %}
<li class="LP-PlaceGrid__Item"> <li class="LP-PlaceGrid__Item">

View File

@ -13,7 +13,7 @@
}), }),
], ],
view: new ol.View({ view: new ol.View({
center: ol.proj.fromLonLat([{{average_latlon|last}}, {{average_latlon|first}}]), center: ol.proj.fromLonLat([{{place_map_center|last}}, {{place_map_center|first}}]),
zoom: 6 zoom: 6
}) })
}); });