All Questions
Tagged with leaflet.draw gis
6
questions
0
votes
1
answer
2k
views
How can I draw graph elements (nodes and edges) in leaflet?
I need to build a simple online map editor and I'm intended to use leaflet (but can eventually use openlayers). How can I draw graph elements (nodes and edges) in leaflet (on top of a map). ...
1
vote
0
answers
331
views
Leaflet.draw: How to draw Octagon/Hexadecagon or other regular polygon?
I do not believe my question can be answered with a few lines of code here, but maybe someone has written an extension to Leaflet.draw which can be used for drawing a regular polygon in a similar way ...
1
vote
2
answers
1k
views
How to detect "delete" or "edit" events in popup menu created with Leaflet-draw-toolbar plugin?
In this example you may create a polygon and then click it and popup menu shows. There is three buttons: edit, delete and pick a color. How can I detect event and determine which of it - delete or ...
1
vote
1
answer
3k
views
How to edit a popup in Leaflet.draw
I am using Leaflet and Leaflet.draw to create a map. When I draw a rectangle on the map (as a user), the following code writes out the LatLng bounds of the rectangle.
// add the newly drawn ...
2
votes
1
answer
187
views
Leaflet.js draw controls not movable over whole map window area
I'm using Leaflet.js draw controls to make markers and polygons on my map.
When I select the draw controls to place a marker or polygon it follows my mouse as expected on about 80% of my map window, ...
47
votes
4
answers
35k
views
Leaflet.draw mapping: How to initiate the draw function without toolbar?
For anyone experienced with leaflet or leaflet.draw plugin:
I want to initiate drawing a polygon without using the toolbar from leaflet.draw. I've managed to find the property that allows editing ...