Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

Turn display of marker tooltips on/off in layer control in Leaflet

I want to add tooltip which will show magnitude for each earthquake epicenter and was able to make it but I have a problem that with many epicenters in one area tooltips are overlapped. My question is ...
Tkalac's user avatar
  • 35
1 vote
1 answer
589 views

Bind tooltip to a marker as a result of turf.js distance method in Leaflet

I'm trying to simply put the results of the distance variable in the tooltip but keep getting undefined. I don't understand what's happening. function findDistanceToCentroid(countyPolygon, ...
Zac Stanley's user avatar
2 votes
1 answer
10k views

Marker position in Leaflet

I use 2 markers : Icon and Tooltip. The problem is that given the sames Lon & Lat they are not at the same position. The Icon position is right, the tooltip position not. This is my js code for ...
Hervé's user avatar
  • 63
1 vote
0 answers
879 views

Including iframe in tooltip in Marker?

Can we include an iframe in tooltip in Marker? import folium var=open("yolo.html", "r") var2 = var.read() map = folium.Map(location=[19.179180,72.972580],zoom_start=6, tiles="Mapbox Control Room") ...
Rohit Rohra's user avatar
2 votes
1 answer
4k views

Leaflet tooltip classname not applying

I am trying to overwrite the styling of the leaflet tooltips on a map but it does not seem to use my CSS style. I am using angular and electron but as far as I know neither should cause any changes to ...
Matthew Dyson's user avatar