diff --git a/lostplaces/lostplaces_app/templates/partials/osm_map.html b/lostplaces/lostplaces_app/templates/partials/osm_map.html index d925f87..6ca6642 100644 --- a/lostplaces/lostplaces_app/templates/partials/osm_map.html +++ b/lostplaces/lostplaces_app/templates/partials/osm_map.html @@ -13,7 +13,7 @@ ], view: new ol.View({ center: ol.proj.fromLonLat([{{place_map_center|last}}, {{place_map_center|first}}]), - zoom: 6 + zoom: 9 }) }); @@ -24,7 +24,7 @@ geometry: new ol.geom.Point( ol.proj.fromLonLat([{{place.longitude}},{{place.latitude}}]) ), - url: '/{{place.pk}}', + url: '{% url 'place_detail' pk=place.pk %}', name: '{{place.name}}' }), {% endfor %}