Skip to main content

All Questions

Tagged with
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=&...
Ahmet Resul KURU's user avatar
0 votes
0 answers
961 views

How to use Leaflet.Draw to add and save polylines and reuse in code?

how can i use Leaflet.Draw just for add Polylines and save them in in js code. I just want to use Leaflet.Draw cause i dont know my coordinates on my map. And i would add over 100 Polylines. I want to ...
ckxx's user avatar
  • 1
0 votes
2 answers
3k views

Get the coordinates of a rectangle on Leaflet

I will want to get the coordinates of each corner of a rectangle that the user will draw on a map (leaflet). The goal is to extract the max/min latitude and the max/min longitude. Here is the code ...
A-d-r-i's user avatar
  • 127
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, { ...
Es Noguera's user avatar
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 ...
lazzat's user avatar
  • 31