|
|
|
@ -154,7 +154,7 @@ export default {
|
|
|
|
// Populate the popup and set its coordinates
|
|
|
|
// Populate the popup and set its coordinates
|
|
|
|
// based on the feature found.
|
|
|
|
// based on the feature found.
|
|
|
|
popup
|
|
|
|
popup
|
|
|
|
.setLngLat(e.lngLat)
|
|
|
|
.setLngLat(e.features[0].geometry.coordinates)
|
|
|
|
.setHTML(`Записей в точке: <b>${e.features.length}</b>`)
|
|
|
|
.setHTML(`Записей в точке: <b>${e.features.length}</b>`)
|
|
|
|
.addTo(map.value);
|
|
|
|
.addTo(map.value);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|