geoplotlib
geoplotlib copied to clipboard
Is there any plan to add a map legend/key feature?
As of now, I have been adding dots and labels at latitude, longitude locations which is fine for screenshots, but it would be helpful to be able to keep it in a certain location of the window when zooming...I guess this would be a pyglet object. I am not familiar with pyglet so any help in the right direction is welcome!
I was wondering the same thing, but more generally adding text to the plot (or a title). I've been searching around BaseLayer
and the other classes that inherit from it, but haven't had much luck for a general solution within geoplotlib.
Hi
text can be added by using
ui_manager.info("hello world")
See in examples/taxi.py.
There is currently no support for legends. If you wish to add it, I would start by looking at Colorbar in core.py.