All Questions
113
questions
0
votes
1
answer
2k
views
ReactJS with Leaflet: tiles not correctly displayed until page refresh
I am building an application using Semantic UI and ReactJS. I am using a tab module to contain my map, which uses the Leaflet Javascript library to render the map.
The problem is that the tiles do ...
0
votes
2
answers
2k
views
How to map JSON data graphically on a Leaflet map?
I want to use the Citybik.es API (http://api.citybik.es/) to show data on a Leaflet map.
How do implement this data on the map from JSON? I am already fetching information from the API inside a ...
0
votes
1
answer
1k
views
How to get the number of map markers per country - ReactJS
I'm working with the Citybik.es API (http://api.citybik.es/) to show data on a Leaflet map.
At the moment, the code is showing every item in the map, but after analysing I would like to organize the ...
0
votes
1
answer
3k
views
Do leaflet maps have a label function?
Anyone know whether it is possible to add a label beside my markers on my react-leaflet map?
0
votes
1
answer
3k
views
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 leaflet that would be helpful as well.
I am successfully panning to the bounds of a polygon that I supply like ...
0
votes
2
answers
4k
views
Delete layer before creating a new one with react-leaflet-draw in leaflet
My purpose here is to allow only one polygon on the map. My approach has been saving the new layer during onCreated method in a var or array and in the method onDrawStart get it and delete, so once ...
0
votes
1
answer
943
views
Pop up on react leaflet map library
I'm using react-leaftlet map library https://react-leaflet.js.org/en/ in my react app and i have rendered some markers on the map and when a user clicks on a marker, a pop up appears. I want to open a ...
-1
votes
1
answer
2k
views
How can I open a modal using react-leaflet?
I am trying to use the library react-leaflet and I want to open a modal when we click on a button on the popup but I do not achieve to do that.
Here is my code :
import React from "react";
...