Skip to main content

All Questions

0 votes
0 answers
324 views

Remove marker is disabled after one marker remove from map

I am using the react-leaflet/core library together with the plugin Leaflet-Geoman which using the removalMode to delete the marker from map Below is my code import { useLeafletContext } from "@...
Developer007's user avatar
-2 votes
1 answer
182 views

I'm tring to code to get a popup marker on my leaflet map when I double click on the map

I want to get a popup marker(by image) on my map every time I double click on the screen. Every time I try to copy other's code, it won't work. Can someone help plz?THE MARKER NEEDS TO BE AN IMAGE! I ...
Markus Viljoen's user avatar
-1 votes
2 answers
68 views

Have to click 2 times before it opens my component

GM, I am a beginner in Angular, i use Leaflet for my application. I created some markers, and i want to open another component when i click on the marker. This is the marker click marker.on('click', ()...
Makil Uspn's user avatar
1 vote
0 answers
36 views

Need to disable deleting a marker layer in leaflet

I am working with a leaflet map that uses a custom image, draws rectangles on it with markers and tooltips at the center of each rectangle. It includes a toolbar that sets a delete mode. In the ...
Debbie Engelmeyer's user avatar
1 vote
0 answers
905 views

Add one Marker to Multiple FeatureGroups in Folium Python

I'm trying to make a map in python using Folium to show the location of some facilities. Each facility might have several features which I want to use to filter the markers. As far as I know it's ...
Fateme Fouladkar's user avatar
0 votes
0 answers
416 views

Leaflet Rotate Only Shadow of an Icon

I need a way to rotate only the shadow of the icon which is linked to my marker. I'm using this plugin for rotation : https://github.com/hanying33/Leaflet.RotatedMarkerWithShadow The example below ...
yassine mt's user avatar
1 vote
0 answers
422 views

Leaflet Control Search: Search only markers which are currently visible on the map

I am working on my first project using Leaflet javascript library. After succesfully importing a geoJSON file on the map, I am trying to create a new geoJSON layer (currShownMarkersLayer), populated ...
techNIK's user avatar
  • 11
0 votes
1 answer
809 views

styling leaflet markers according to property in geojson file

I´m completly stuck with this part. I have tryed a lot of solutions I have found here and on other places but I simply can´t figure out the situation. I´m trying to place markers on a map according to ...
Bruno's user avatar
  • 27
0 votes
1 answer
847 views

search markers with leaflet search

I´m trying to use leaftlet search but it doesnt find the markers. The markers are populated on the map as it should be, but the search wont work. I have a freg.js file where I have the information to ...
Bruno's user avatar
  • 27
0 votes
1 answer
148 views

MapQuest, Leaflet - disable marker on directions layer

Is there a way to hide markers generated at directions layer ? I'd like to draw only route. Or is there a way to set custom icon instead of build ones ? According to docs: https://developer.mapquest....
b0bik's user avatar
  • 23
0 votes
1 answer
505 views

How to simply change marker icon on click and then back to original state when click elsewhere?

I'm trying to get this function on my custom map https://rodadagua.netlify.app/ I've found some very close examples and questions on here but being a complete novice unfortunately I have no idea what ...
andycb's user avatar
  • 1
0 votes
1 answer
791 views

Find the middle point between two markers in Leaflet

I would like to be able to find the centre point between two markers on a map (example below). Is there a function in leaflet or in another package that allows this? Thank you in advance coor_zone6 &...
Florian B.'s user avatar
1 vote
0 answers
61 views

Leaflet with Edge Canary (recent version) mouse and markers glitch gap shift

With recent release of Microsoft Edge Canary version (as of date 2/May/2022, version 102.0.1243.0) it seems like when moving the mouse it is and hovering over a marker there is a gap between the place ...
ArielD's user avatar
  • 11
1 vote
1 answer
219 views

Having Leaflet markers visible in more than one layer

I want some of my Leaflet markers visible in more than one layer on my Openstreetmap map. By example: London is harbor and is also a capital city. So I want to see the London marker when I select only ...
Peter Bakker's user avatar
0 votes
0 answers
125 views

[React][React-Leaflet] Updating position after changing radius

I am working on a React-app to find a soccer club near the user position, I want to let the user change the radius around him in order to find some results in his area. So for now the default value of ...
Manuel's user avatar
  • 3

15 30 50 per page
1
2
3 4 5
23