diff --git a/frontend/src/components/MapComponent.vue b/frontend/src/components/MapComponent.vue index d3ec75c..1ab4433 100644 --- a/frontend/src/components/MapComponent.vue +++ b/frontend/src/components/MapComponent.vue @@ -154,7 +154,7 @@ export default { // Populate the popup and set its coordinates // based on the feature found. popup - .setLngLat(e.lngLat) + .setLngLat(e.features[0].geometry.coordinates) .setHTML(`Записей в точке: ${e.features.length}`) .addTo(map.value); });