All Questions
Tagged with leaflet.draw maps
6
questions
0
votes
0
answers
164
views
Enable edit polygon on click in leaflet maps
I'm using below function to get geography data from backend as json and then draw polygon using leaflet:
function drawAreas() {
$.ajax({
type: "POST",
url: "...
1
vote
1
answer
508
views
How to draw polygons sharing exact same edges (borders) using Leaflet Draw
Using geojson.io page I want to draw some districts/countries.
I'm drawing each district separately as there is no multipolygons in Leaflet Draw. However when I'm drawing the borders even with maximum ...
2
votes
1
answer
2k
views
Leaflet vertex click event
How to fire/listen a click event from a L.Polygon vertex ?
The user make a Polygon using:
fobDrawPolygon: function(iobMap) {
var obPolygon = new L.Draw.Polygon(iobMap, {
...
3
votes
4
answers
2k
views
How to change color of first vertex while drawing polygon using Leaflet.Draw?
I am using Leaflet and Leaflet.Draw, and I am letting the user from my code to draw polygon (NOT using the Leaflet Draw Controls).
While the user is drawing the polygon I need to change the color of ...
2
votes
1
answer
685
views
LeafLet Draw, Marker Layer can't be Clicked
I'm using Leaflet 1.0.1 with LeafLet Draw, but the problem is Marker Layer can't be clicked with the LeafLet stable version
https://jsfiddle.net/tb0pct68/2/
var osmUrl = 'http://{s}.tile....
2
votes
2
answers
874
views
Embed leaflet data collection or geojson.io map to form
I'm trying to figure out the most lightweight way to collect data for individual mapped polygons from non-technical users. Here's the end vision: users fill out a web form, draw a shape, and then they ...