From dcfb329c5a5dfc69099abce4a1986ae8f975d472 Mon Sep 17 00:00:00 2001 From: reverend Date: Sat, 12 Sep 2020 11:35:30 +0200 Subject: [PATCH] Adapted template --- lostplaces/lostplaces_app/templates/partials/osm_map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lostplaces/lostplaces_app/templates/partials/osm_map.html b/lostplaces/lostplaces_app/templates/partials/osm_map.html index 3d63328..5c64fcc 100644 --- a/lostplaces/lostplaces_app/templates/partials/osm_map.html +++ b/lostplaces/lostplaces_app/templates/partials/osm_map.html @@ -11,7 +11,7 @@ }), ], view: new ol.View({ - center: ol.proj.fromLonLat([{{place_map_center|last}}, {{place_map_center|first}}]), + center: ol.proj.fromLonLat([{{place_map_center.longitude}}, {{place_map_center.latitude}}]), zoom: 9 }) });