- 🇬🇧United Kingdom kiwimind
Sorry to raise this old thread, however it feels relevant again today.
Seeing as the most recent version of the Geofield Map module does not appear to support Leaflet at the display end of things (only on the edit widget unless I'm missing something obvious), then this issue is valid again.
It's still possible for editors to add more than one point to a geofield, and expecting them to select the add marker icon and right click to remove a marker does not feel particularly user friendly when it seems it would be better to replace the marker already placed when clicking on the map a second time.
- Status changed to Closed: works as designed
about 2 years ago 11:17am 9 March 2023 - 🇬🇧United Kingdom kiwimind
Ok, yeah, apologies.
Apparently if you want to use leaflet and also restrict editors to a single marker placement, then enabling Geofield Map does do this.
Thanks.
- 🇮🇹Italy itamair
Yes exactly ... at the moment you would use the Geofield Map widget (with Leaflet js library) to input new contents/geofields and still use the Leaflet Formatter/View Style to rodent them in the Front-End ...
How about opposite scenario, where user can draw multiple types Points + Lines, Polygons etc, but how to limit that on initial VIew only Points are displayed as Markers and only opening entity displaying everything?