mapgl
mapgl copied to clipboard
Tying Hover to Legend
Datawrapper has a nice feature where hovering over an item on a map also indicates where the value is on the legend (Example: https://www.datawrapper.de/maps/choropleth-map). The robots and I came up with a facsimile of this idea in a maplibre map that was created directly in html. Is this sort of legend something that's possible to implement as an alternative add_legend() sort of statement?
oh that's cool! nowadays, all things are possible to implement. I've also had long-term thoughts about linking legends with map data allowing for legends as clickable filters (like you can do in plotly).