diff --git a/static/js/map.js b/static/js/map.js index 8aaea69..ae6855d 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -34,7 +34,7 @@ function build_map(map_id, coordinates, routes) { var offset_lines = []; function getIconBounds(latlng) { - let iconSize = 30; // Assuming the icon size as a square of 30x30 pixels + let iconSize = 20; // Assuming the icon size as a square if (!latlng) return null; let pixel = map.project(latlng, map.getZoom()); let sw = map.unproject([pixel.x - iconSize / 2, pixel.y + iconSize / 2], map.getZoom());