All Questions
Tagged with leaflet google-maps-markers
333
questions
3
votes
1
answer
830
views
leaflet marker popup opening and immediately closing
In my leaflet map, clicking on a marker opens its popup and immediately closes it.
Logging of map events reveals that instead of firing just a popupopen event, the click on the marker triggers 2 ...
0
votes
0
answers
632
views
Why is my icon showing up as an empty square with Leaflet JS?
I'm trying to make my point marker have a picture icon, but for some reason, it's showing up on my map like this:
I've looked at the documentation on leaflet's website and what not but have had no ...
0
votes
1
answer
77
views
Is there a cleaner way to code multiple markers on a leaflet map in Javascript?
I currently have 6 individually coded markers on my leaflet map in javascript. I was wondering if there was a cleaner way to code all these and just change the coordinates? (Below is an example of 2 ...
0
votes
1
answer
395
views
Dragging map to the selected marker from the list line leaflet map
If I am on the list of agencies, and each time I click on the agency line, it will slide on the map to marker.
In this case, it do jump not drag on the map:
$("#myTable tr").hover(function ()...
0
votes
1
answer
403
views
Keep Getting this.callInitHooks error (Leaflet)
I'm trying to add markers and a search bar to my leaflet choropleth map. However, I keep running into an error that tells me: Uncaught TypeError: this.callInitHooks is not a function. It comes from my ...
1
vote
2
answers
469
views
Leaflet tooltip issue on multiple markers at same location
i have two different markers at same location.For the marker at the bottom it has a tooltip while the marker at the top has not. when i hover my mouse on markers the tooltip doesn't show up.
what can ...
0
votes
0
answers
432
views
Leaflet - How can I remove the old moving markers from the map's background?
I have almost 500 markers, and these markers have another marker. These two markers are also in motion. It gets a location update every 10 seconds.
Black circle marker is main marker, blue one is ...
0
votes
1
answer
247
views
Use OpenWeather Icons as Markers on Leaflet Map
I'm trying to add the weather icons returned from an openweather API call to my leaflet map as markers but not getting any luck.
They will display in a pop up on the marker in an tag and when I ...
0
votes
0
answers
300
views
Markers extended from CircleMarker - How to group, highlite and bind popup?
I made a simple script to dispaly custom circle markers on Geojson polygons. But I can't solve the problem with popups and apperance change.
First I'd merged my markers with CustomPoint style into L....
0
votes
0
answers
872
views
Dragging event not working on React leaflet
I'm trying to update the latitude and longitude coordinates after dragging a Marker over an Leaflet map in my React project. This is my map container component:
import React from 'react';
import { ...
0
votes
1
answer
2k
views
Leaflet - add custom icon to markers layer to use with L.Control.Search
I've been tryin to find solution to make it work or the answer on this question, but i failed, so here it is:
I have a custom-made imaginary map (let's say it's from the game) and i wanted to add ...
0
votes
1
answer
657
views
Leaflet: iterate through data for custom markers
I need your help with custom markers in Leaflet. I need custom markers that correspond with the data entries. Here is a data SAMPLE csv that looks like this:
result
display_na
lat
long
AV
14, ...
0
votes
1
answer
339
views
Make leaflet markers non-interactable but searchable
So I'm using Leaflet Search and a bunch of invisible leaflet markers to reference a bunch of street names that way it's easier for a user to find a street location and the nearest markers to those ...
0
votes
2
answers
388
views
View latlng in popup after moving marker
I want to show on popup the lat and lng also after i move the marker if the initial position is not correct.
Is it possible to view in popup the new coordinate after that the marker has been moved?
&...
0
votes
1
answer
728
views
React-leaflet problem to create <Marker> <Popup> instance dynamic
I would like to create a react-leaflet object dynamically. Normal leaflet objects work, but react-leaflet do not.
Code example on:
https://codesandbox.io/s/show-problem-react-leaflet-marker-popup-...