12,784 questions
0
votes
0
answers
32
views
CircleMarker SVG classes/animations not updating reliably when reactive state changes
I’m using Vue-Leaflet + Leaflet to display dynamic CircleMarkers whose styling depends on reactive Vue state.
When a marker enters the list, it should fade in via CSS.
When it leaves the list, it ...
-1
votes
0
answers
43
views
Displaying/Rendering multiple TIFF/GeoRaster layers on React-Leaflet Map [closed]
I'm working on a React project where I'm using React-Leaflet and need to display GeoTIFF (.tif) layers on multiple maps within the same page.
Overview: I have several Leaflet maps rendered ...
1
vote
1
answer
63
views
How to find coordinates of a polygons vertices
I have a React application that uses React leaflet to render a map and I can draw a polygon on the map using a function I've written. I want to submit the polygon that's drawn to an SQL database and I ...
0
votes
0
answers
53
views
Leaflet.VectorGrid with multiple interactive layers
I build layers based on L.vectorGrid.protobuf(). Each layer has interactive: true. Each works perfectly for click, mouseover and mouseout, but only in isolation.
When I have multiple layers only the ...
-3
votes
0
answers
27
views
Why does VS Code sometimes say "trust this notebook" [duplicate]
I'm new to coding. I'm in VS Code, working with geopandas, leaflet, etc. I'm using the .explore() method to show interactive maps. Sometimes, after I run the .explore() method, the output tells me I ...
1
vote
0
answers
53
views
why markers need to be tapped twice to have the popups opening in the right position (inside the leaflet map)
This part of code should rule popups behaviour
if (isMobile) {
map.on('popupopen', function (e) {
const popup = e.popup;
const el = popup.getElement();
if (!el) { // Se l'...
1
vote
0
answers
18
views
TypeError: L.control.sideBySide is not a function in Leaflet
I am integrating the leaflet-side-by-side plugin into a large existing Leaflet WebGIS application (InMap) that uses Bootstrap/jQuery and has complex layer management (L.control.autolayers).
Despite ...
Advice
0
votes
0
replies
36
views
How do I migrate and import my interactive maps from fandom.com to my GitHub repository for use as GitHub Pages
I used to have a wiki on Fandom but the service doesn’t like it if you have a private wiki, so I asked the WikiTeam on GitHub, who are not affiliated with Fandom, to export dump my entire wiki on ...
2
votes
1
answer
113
views
How to set the color of a Polygon?
I have a React application that lets a user draw a polygon using the following code:
function handleClickToggleDrawing(): void {
map.pm.enableDraw('Polygon', {
snappable: true,
...
-1
votes
1
answer
69
views
Color picker not responding to user inputs
I am working on a react application and I want to show a color picker in a modal, but the color picker doesn't work. It's rendered to the screen, but the user can't change colors. Could I get some ...
1
vote
1
answer
126
views
How to make a component show on top of MapContainer?
I have a react app that uses React-Leaflet. The Application renders a map, and on top of the map there should be a component that shows a modal. Instead, the modal is shown underneath the map. How can ...
1
vote
1
answer
93
views
How to implement onclick function for a map made with React Leaflet
I have a map that I've made in React Leaflet which lets the user draw polygons, and i want the user to be able to click on the polygon and render a modal which lets the user name the area that's ...
Advice
1
vote
4
replies
84
views
Which paradigm and tech stack for an app that listens to messages and updates shapes on a satellite map
I am taking advantage of StackOverflow's new "General advice" question type to present my use case and ask for technical guidance.
I am a Data Scientist with several years experience in ...
2
votes
1
answer
110
views
Is it possible to auto-adjust the zoom when rendering large leaflet maps into png?
With the following code one can generate a leaflet map:
library(leaflet)
library(mapview)
library(dplyr)
library(sf)
bbox <- st_bbox(my_polygon)
print(bbox)
xmin ymin xmax ...
0
votes
1
answer
93
views
React React-leaflet and MarkerClusterGroup, can't access property "useState" error
i have more than 13300 points of interests to show on a map.
i have created a app with starter react app, react-leaflet and react-leaflet-markercluster
but i have this error "can't access ...