|
|
|
@ -132,7 +132,7 @@ export default {
|
|
|
|
closeOnClick: false,
|
|
|
|
closeOnClick: false,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
map.value.on("dblclick", "fields-layer", (e) => {
|
|
|
|
map.value.on("click", "fields-layer", (e) => {
|
|
|
|
new maplibregl.Popup({})
|
|
|
|
new maplibregl.Popup({})
|
|
|
|
.setLngLat(e.lngLat)
|
|
|
|
.setLngLat(e.lngLat)
|
|
|
|
.setHTML(e.features[0].properties["descriptio"])
|
|
|
|
.setHTML(e.features[0].properties["descriptio"])
|
|
|
|
|