Compare commits
No commits in common. "a660763ea4504d37e3daeae42258abdd211480da" and "b34e88a3ad4927b93eae5d153a9d6430db1e4de9" have entirely different histories.
a660763ea4
...
b34e88a3ad
File diff suppressed because one or more lines are too long
@ -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">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div id="map" class="map"></div>
|
<div id="map" class="map"></div>
|
||||||
<div id="info" class="map-popup"></div>
|
<div id="info" class="map-popup"></div>
|
||||||
<script src="{% static 'ol.js' %}"></script>
|
<script src="{% static 'ol.js' %}"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var map = new ol.Map({
|
var map = new ol.Map({
|
||||||
target: 'map',
|
target: 'map',
|
||||||
@ -13,7 +13,7 @@
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
view: new ol.View({
|
view: new ol.View({
|
||||||
center: ol.proj.fromLonLat([{{place_map_center|last}}, {{place_map_center|first}}]),
|
center: ol.proj.fromLonLat([{{average_latlon|last}}, {{average_latlon|first}}]),
|
||||||
zoom: 6
|
zoom: 6
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user