Questions tagged [leaflet]

Leaflet is an open-source JavaScript library used to generate mobile-friendly interactive maps.

Filter by
Sorted by
Tagged with
0
votes
2answers
58 views

Optimizing large WP Query [closed]

I have WP Query like this: ...
2
votes
2answers
50 views

Speed up javascript code to convert csv to geojson

I'm using a script that converts a CSV file into GeoJSON in order to display it on a map. You can see it for yourself here. The CSV has about four thousand rows. It's quite slow. I'm wondering what is ...
4
votes
1answer
27 views

Simple marker rendering

I am trying to render in a leaflet map that should render a single marker. I am building the JavaScript as follows. build the map an even listener for when the user opens the page where the map is ...
1
vote
1answer
65 views

Leaflet map distance from the onclick marker

Here is the part of working code: ...
2
votes
1answer
47 views

Setting zoom for layer disappearance in Leaflet

I have got 2 working codes, where one is a bit longer and another a bit shorter. Is it some way to bind all these layers as a one group? The first one is: ...
2
votes
1answer
199 views

Loading KML files into leaflet Javascript map

This is working code for input KML files into leaflet map ...
4
votes
2answers
125 views

Toggling visibility of layers on an interactive map

I am creating an interactive quad(heat) map of USGS Quadrangles wherein each quad has 12 different attribute fields CSV attached to the JSON using papa.parse. ...