Timeline for Leaflet Turf.buffer projection
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2022 at 22:55 | comment | added | ThomasG77 |
Try drawnItems.toGeoJSON().features.filter(el => el.geometry.type == 'Point').map(el => el.geometry) . It returns an array of element similar to pt.geometry . You need to reuse most of my code in a loop with my additional info.
|
|
Feb 18, 2022 at 19:12 | comment | added | Vincent Dc | hello. I tried to better understand your code. How can I use the "drawnItems" from Leaflet.draw instead of a given point? I've got a "Cannot read properties of undefined (reading 'type')" error. | |
Jul 23, 2021 at 15:49 | history | answered | ThomasG77 | CC BY-SA 4.0 |