Skip to content Skip to sidebar Skip to footer
Showing posts with the label Leaflet

Export Leaflet Map To Geojson

Is it possible to export geojson from leaflet to save the map state? I want to store the markers, … Read more Export Leaflet Map To Geojson

How To Add Tile Layer To Map Using Mapboxgl.js

Here m adding tile created using tiff mapboxgl.accessToken ='pk.eyJ1IjoiZ2F1cmF2Y2F0c3RlY2giL… Read more How To Add Tile Layer To Map Using Mapboxgl.js

Timeslider Plugin And Leaflet - Markers Not Appearing In Order

Updated with a JSFIDDLE link I am using LeafletJS to build a web map with a timeline slider. I am u… Read more Timeslider Plugin And Leaflet - Markers Not Appearing In Order

Leaflet Js (react-leaflet) - Bounds Box Filled With Transparent Color

I'm working with react-leaflet package, however, if you can answer the question in plain leafle… Read more Leaflet Js (react-leaflet) - Bounds Box Filled With Transparent Color

How Do You Call Fitbounds() When Using Leaflet-react?

I cannot figure out how to call fitBounds() on the Leaflet map. If I was just using vanilla leaflet… Read more How Do You Call Fitbounds() When Using Leaflet-react?

How To Calculate The Distance Of A Polyline In Leaflet Like Geojson.io?

I am working on a map with Mapbox and Leaflet and I am supposed to let the user draw polygons and c… Read more How To Calculate The Distance Of A Polyline In Leaflet Like Geojson.io?

Setting Zoom Level For Layers In Leaflet

Continuing the query from here: https://gis.stackexchange.com/questions/340223/leaflet-making-featu… Read more Setting Zoom Level For Layers In Leaflet

Manually Close Layer Control Window (javascript)

I recently started programing in javascript. I have added a layer control window to my map. It'… Read more Manually Close Layer Control Window (javascript)

Leaflet Plugin Only Working When Geolocation Is Enabled

I am using leaflet with react-leaflet. OverpassLayer is working when geolocation is enabled. When … Read more Leaflet Plugin Only Working When Geolocation Is Enabled

React-leaflet Layerscontrol Throws Error When Moving Code Into Function

Sorry if it this has been answered somewhere else before! I am new to react-leaflet and struggle wi… Read more React-leaflet Layerscontrol Throws Error When Moving Code Into Function

Display Layers At Certain Zoom Levels In R Leaflet

I am working on an interactive map with the R package 'leaflet'. I would like to change aut… Read more Display Layers At Certain Zoom Levels In R Leaflet

Labels Only Appear If Zoom Leaflet

I'm making a map in Leaflet and I have up to two labels per marker: var redIcon = new L.Icon({ … Read more Labels Only Appear If Zoom Leaflet

Leaflet.js Setmaxbounds Ignores Southern Bound

Using Leaflet.js for an open-source map project, but I need to set specific bounds the user can'… Read more Leaflet.js Setmaxbounds Ignores Southern Bound

Leaflet Popup For Geojson Ajax

With Leaflet, how have popup on each marker when I load geojson layer with Ajax? var map = L.ma… Read more Leaflet Popup For Geojson Ajax

Leaflet Draw Plugin: How To Hide/show Drawing Tools By Layer Type Dynamically

I'm using draw plugin in my project and I would like to know how can I hide/show drawing tools … Read more Leaflet Draw Plugin: How To Hide/show Drawing Tools By Layer Type Dynamically

Put Google Line Chart In Leaflet Popup

I'm trying to insert a Google line chart into a standalone Leaflet popup. I have the chart gene… Read more Put Google Line Chart In Leaflet Popup

Ruby On Rails: Leaflet-rails Not Loading

Using RoR 4.1.4 I am trying to use the leaflet-rails gem. I followed the steps outlined in the gith… Read more Ruby On Rails: Leaflet-rails Not Loading

Trying To Use Epsg:3857 In Leaflet

I am trying to make leaflet use EPSG:3857 as an input coordinate system. I use porj4leaflet to achi… Read more Trying To Use Epsg:3857 In Leaflet

Intersection Point Of Two Lines In Leaflet

I want to get the intersection point of two polylines in leaflet. I have two lines as given below … Read more Intersection Point Of Two Lines In Leaflet

Leaflet Omnivore + Clustering Markers + Filtering Marker Cluster Group

I try to make a map with mapbox and omnivore plugin of Leafet in order to search a data with the tu… Read more Leaflet Omnivore + Clustering Markers + Filtering Marker Cluster Group