Questions tagged [react-leaflet-draw]
34 questions
0
votes
0 answers
How to search all points near to polyline?
In react-leaflet project I've used react-leaflet-draw to draw shapes.
for a polyline, I coded a specific form. User can input a buffer for the created polyline. This buffer must be displayed as a shadow for polyline with width in meters or…

Abolfazl Heidarpour
- 125
- 1
- 8
0
votes
1 answer
React leaflet draw on image
I am trying to use the drawing function of react-leaflet Where not drawing a map, but drawing on a picture
Right now I have to use the function inside do you have any suggestions? Or if it can't be done
0
votes
2 answers
Delete layer before creating a new one with react-leaflet-draw in leaflet
My purpose here is to allow only one polygon on the map. My approach has been saving the new layer during onCreated method in a var or array and in the method onDrawStart get it and delete, so once the user tries to draw another shape, the previous…

Nendil
- 65
- 1
- 5
0
votes
0 answers
How to add drawing toolbar in Leaflet map(React Application)
This is my Dashnoard.js file, i dont have an html file .My question is how to add the drawing toolbar on the leaflet map.At the moment i have the map only...
Thank you!
import React from 'react'
import { Map, Marker, Popup, TileLayer } from…

Liverpool
- 265
- 7
- 21