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 }) });