diff --git a/public/js/map.js b/public/js/map.js index 057313e..3353ee8 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -197,6 +197,7 @@ function showInfo(id) }); } + myMap.setView(points[id]._latlng, myMap.getZoom()); history.pushState({}, document.title, "/?point=" + id); return true; }