Category "leaflet"

leaflet L.Control Overlay

As a newcomer to javascript and the use of leaflet I'm unsure which subject this should be. Using the Layer Groups and Layers Control example as a model I wish

Leaflet: How to create a group layer that shows all other layers?

I created the following script but it won't show both layers. If i delete the single groups ("commerciele parkeerplaatsen" and "rodents") and only leave the "bo

How to use vue2-leaflet in vue3 App, what changes need to be made?

I'm adding an Openstreetmap component. Newbie, straight to Vue3 (do not ask me to start from Vue2), MapLeaflet.vue : I took the code from here: https://vue2-lea

Does markercluster work together with leafletProxy() and option iconCreateFunction?

Am I doing something wrong, or why does the below example not work? I am trying to make leaflet markercluster plugin work with leafletProxy() in an R Shiny app,

react-leaflet map is not correcly displayed in Ionic 5

When i am trying to display map in mobile view i see broken map: https://stackoverflow.com/a/36257493/13739566 - in this link is description why it doesn't

Getting bounding box from leaflet in R

I am using R, RStudio and the leaflet package to visualise a map. I would like to get the the min and max lat-longs of of the bounding box of a leaflet object.

Is there any Package for adding Arrows to lines in leaflet map

I am working on an interactive map in Leaflet thorough R studio, I want to show the direction of the roads with Arrows. I would be grateful if anyone helps me w

leaflet poligon draw and kml load

new leaflet user here. basically I need to achieve 2 things: 1.draw a poligon (with my mouse) on a lealet map and be able to edit it 2. import/export kml data

Zoom to fit all markers in Mapbox or Leaflet

How do I set view to see all markers on map in Mapbox or Leaflet? Like Google Maps API does with bounds? E.g: var latlngbounds = new google.maps.LatLngBounds(