All Questions
Tagged with leaflet.draw jquery
10
questions
0
votes
0
answers
93
views
Leaflet. Does not put a dot exactly where you click
<div class="leaflet-marker-icon leaflet-div-icon leaflet-editing-icon leaflet-div-icon-wh leaflet-zoom-animated leaflet-interactive leaflet-marker-draggable" tabindex="0" style=&...
0
votes
2
answers
2k
views
Leaflet JS - Draw rectangle and filter circle markers in the rectangle and update HTML table with only those markers
I have a leaflet map which has circleMarkers plotted by longitude and latitude using the markers array coming from an AJAX REQUEST. This all works fine. I am trying to work on drawing a rectangle ...
0
votes
0
answers
847
views
Leaflet Draw - save GeoJSON to server
Inspired by this often cited question: https://gis.stackexchange.com/questions/211496/leaflet-draw-add-attributes-and-save-to-file
I wanted to do something similar myself, but instead of creating a ...
2
votes
2
answers
2k
views
Set leaflet circle LatLng with variable
I'm having trouble creating a new circle on a Leaflet map with a variable as the latlng.
I have a form that contains and input for radius and a select box that contains a few locations with options ...
0
votes
1
answer
674
views
Leaflet Popup Form: Include Leaflet latlong values in popup form submission
I have a popup form using Leaflet and would like to include the eventLatLong values as part of the params that are submitted.
So I draw a poly or drop a marker and the popup should appear with a form ...
2
votes
0
answers
73
views
div opens on new page instead of staying on map page
I am trying to display my input form buttons on the right side outside of my map after I have created a marker with the L.draw plugin. However if I click on the created marker, the form buttons open ...
0
votes
1
answer
311
views
Adding leaflet plugins after map initialization?
I'm creating a web mapping application using Leaflet.js.
Initial map creation is not a problem, but I'm trying to add features after map creation without success!
For example:
load HTML page
load ...
0
votes
0
answers
951
views
How to edit a WFS layer with leaflet draw
I have spend more than 4 hours trying to figure out how I can do this.
I use Leaflet and Leaflet Draw in order to draw news features on my map.
Now I want to be able to edit features of an existing ...
0
votes
1
answer
666
views
How do I flush out previous layers created by leaflet draw tool without refreshing page?
I want to give access to a leaflet draw toolbar via a toggle style menu link so a user can draw one rectangle at a time (actually these will be inserted into a database). What I managed so far is user ...
1
vote
1
answer
656
views
function surprisingly changes polygon coords in leaflet map
I'm trying to create some functionality to leaflet map, to every created marker I add triangle with specific rotation.
This is function to create marker and add triangle (this works well):
function ...