Top "Leaflet" questions

Leaflet is an open-source JavaScript library for mobile-friendly, cross-browser, interactive maps.

Determine if a point reside inside a leaflet polygon

Suppose I Draw a polygan using leaflet like in the follow demo: http://leaflet.github.io/Leaflet.draw/ My question …

leaflet polygon point-in-polygon
How do you use the .off() event method in leaflet.js?

I am trying to build a map application using leaflet.js and I can not figure out how to use …

javascript geocoding leaflet
Coordinates of Leaflet.Draw rectangle

Is it possible to get the coordinates of the rectangle on mouseClick, so I have all the corners of the …

javascript leaflet leaflet.draw
maxZoom and User Input

I want to limit the users max zoom level with inputs (muse scroll etc.) and buttons. In other words, I …

leaflet
How to identify Leaflet's Marker during a `popupopen` event?

when a marker is clicked, I need to execute some code that finds the id corresponding to the marker being …

javascript jquery gis openstreetmap leaflet
How to get Leaflet for R use 100% of Shiny dashboard height

I am in the process of creating a Shiny dashboard application, where the dashboard body is supposed to show some …

r shiny leaflet shinydashboard
Setting map language to English in Openstreetmap with LeafletJS

I'm using LeafletJS to add a map component to my app. Everything is fine and dandy except for the localization …

openstreetmap leaflet
How to use leaflet markerclusterGroup?

I want to create a leaflet marker cluster group and I want to add all the markers, and for that …

javascript angular leaflet leaflet.markercluster
is there a way to resize marker icons depending on zoom level in leaflet?

I'm making a project for the school and I need to resize the marker icons depending on zoom level in …

javascript mapping leaflet
leaflet with R: add text labels

This code is taken from this page: library(leaflet) leaflet(data = quakes[1:20,]) %>% addTiles() %>% addMarkers(~long, ~lat, popup = ~as.…

r leaflet geospatial data-visualization spatial