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

How To Load Only Visible Markers In Leaflet?

I am connecting to a json url to pull back properties onto the Leaflet map. There's about 2,00… Read more How To Load Only Visible Markers In Leaflet?

Change Tile At Tilelayer At State Change

My question is how to change url of tile map in that case: function ChangeView({ center, zoom }) { … Read more Change Tile At Tilelayer At State Change

Leaflet: How To Display A Geojson File With Autocad Data?

I am tried to display geojson file (converted from AutoCAD file to geojson) as the Second layer (fi… Read more Leaflet: How To Display A Geojson File With Autocad Data?

Leaflet: Update Geojson Filter?

I would like to populate a GeoJson layer with data and then dynamically filter what features to sho… Read more Leaflet: Update Geojson Filter?

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

Add A Popup When Clicked Through To A 'plugin' Pulsing Marker In R Leaflet

I managed (with the help of SO) to put a pulsing marker from a plugin to a map with the R leaflet p… Read more Add A Popup When Clicked Through To A 'plugin' Pulsing Marker In R Leaflet

Cloudmade And Leaflet: Multiple Custom Markers

I have followed the leaflet tutorial on how to create Layer Control and the custom markers: Markers… Read more Cloudmade And Leaflet: Multiple Custom Markers

Coordinate Reflection Issue With Leaflet

Salutations all and happy holidays. I Noticed an interesting behavioral quirk while trying to draw… Read more Coordinate Reflection Issue With Leaflet

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

Find Leaflet Map Object After Initialisation

I'm trying to change some things on a map that is already initialised by another script, using … Read more Find Leaflet Map Object After Initialisation

Leaflet Latlngbounds With Simpler Crs & Projection

I'm using Leaflet 0.7.7, latest stable release, and I'm using a custom CRS inherited from L… Read more Leaflet Latlngbounds With Simpler Crs & Projection

Very Basic Javascript Function Call

I have been doing leaflet API since 2 days. I have been stuck in a function call which gives me une… Read more Very Basic Javascript Function Call

Leaflet Popups For Specific Base Maps

so I'm making a website using leaflet with dozens of base maps. I want to incorporate informati… Read more Leaflet Popups For Specific Base Maps

Zoom After Search Using Autocomplete

How to do after a search, zoom in on the value found on the map? My code is: $('#txtSearch'… Read more Zoom After Search Using Autocomplete

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 :: Changing Icon Based On Zoom Level

How do I go about changing an icon height & width based on Leaflet zoom level? I'm using Le… Read more Leaflet :: Changing Icon Based On Zoom Level

Remove "null" Attributes In Leaflet Popups With An If-statement

I am using external geojson attributes to fill my popup windows in Leaflet, like this: function pop… Read more Remove "null" Attributes In Leaflet Popups With An If-statement

Check If A Polygon Point Is Inside Another In Leaflet

I'm having two sets of polygon coordinates selected from leaflet geoJSON map. The parent and ch… Read more Check If A Polygon Point Is Inside Another In Leaflet

Leaflet Markercluster: Is It Possible To Open Multiple Cluster-groups?

I have recently started working with leaflet. I found the great plugin leaflet markercluster. I am … Read more Leaflet Markercluster: Is It Possible To Open Multiple Cluster-groups?

Leafletjs Adding Scrollable Pop Up?

Using leafletjs with popups. When I have popups with minimal text all works fine. If I make them bi… Read more Leafletjs Adding Scrollable Pop Up?