Skip to main content

All Questions

Tagged with
1 vote
1 answer
980 views

Hover over Element in Custom Leaflet Legend

I created a Leaflet Map with a Legend. The goal would be to hover over the text element in the legend area and show a tooltip with a image. Problem: hover is not showing up! I tried very different ...
Jacko_HU's user avatar
0 votes
1 answer
1k views

How I can make a linear gradient legend using Leaflet

i asked this question on gis.stackexchange by they said i should ask here I'm working on project that visualize solar energy data using Leaflet, I want to add a map legend when i add a lot of values ...
Alchemist's user avatar
2 votes
0 answers
16k views

How to add legend in Leaflet map?

I am trying to add a legend in my Leaflet map at the bottom right corner, Ive actually written the code halfway near the end of the code and I do not know how to continue, I want it displayed in the ...
Jackson_Stake's user avatar
2 votes
1 answer
3k views

Creating legend with custom absolute position in Leaflet within R Shiny

I'm working on a webmap with R, using Leaflet and Shiny. The map has an absolutePanel in the top right corner, and I would like to position the legend so that it's not all the way in the topright ...
BGroza's user avatar
  • 23
1 vote
2 answers
4k views

Can't get Leaflet legend to display properly

I'm trying to display what I assumed would be something trivial- display a legend on a leaflet map. But I've spent about 6 hours now trying to get it to work to no avail. All I want to do is display a ...
cpeddie's user avatar
  • 789
0 votes
1 answer
177 views

Html/Css/Js: Display text before <i> tag

This is a rather simple question, but i cant get to the right solution. I am working on a legend for my leaflet map, I got this far: However I would like to display the 0 before the color block and ...
maRtin's user avatar
  • 6,466