Category "leaflet"

Creating a Leaflet map in code workbook in Foundry

Anyone created a leaflet map in Code Workbook using r-Leaflet? I have a functioning script that runs (also double checked in R) but how do I get it to visualise

Change projection in MSSQL for web mapping (Leaflet,Openlayer, OpenStreetMaps, GoogleAPI, ...) to WSG48 or any other format

I have some WKT/WKB data in the MSSQL server like this and would like to show them on the map with the help of leaflet, Openlayer, OpenStreetMaps, or GoogleAPI.

Logarithmic scale for leaflet legend and color palette

I am plotting GIS data using leaflet in R and I am setting the colour of the plotted points to a value in the data set. The data values span a wide range and i

Next.js dynamic import with server-side-rendering turned off not working on production build

I'm currently building a site using the leaflet package. This package however needs the window object. That's why I'm importing a component made with leaflet as

Can't load Leaflet inside Vue component

I am trying to create a Leaflet map as a Vue component but I am having some difficult getting started. I installed Leaflet through npm Where am I going wrong?

Property 'Draw' does not exist on type 'typeof Control'

I'm attempting to implement a map component with leaflet and other leaflet plugins. The issue is other plugins don't work from TypeScript for some reason. For

pulsating circle in leaflet on click

I have a leaflet map. I'm using circles for markers because I have some zooming built in, and I want the radius of the circles to animate during the zoom. I als

How to use location marking in leaflet package in R

I have added two markers on leaflet map, and I want to link those markers (like travelling from one location to the other). How can I do that? The code that I u

react-leaflet-markercluster is not working

I'am trying to use react-leaflet-markercluster, but after I add <MarkerClusterGroup> to the code, errors are displayed in the console and the page does no

Leaflet Control Search: open Popup for search result

I'm using the wonderful plugin Leaflet.Control.Search in order to search for markers (from a geoJson marker group) on my map – which works great. I only

404 (Not Found) for CSS files

I am running a django app and I want to import a third-party stylesheet from my node_modules. But my django app is looking in the wrong directory and throws a 4

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(