geoplotlib icon indicating copy to clipboard operation
geoplotlib copied to clipboard

Is there any plan to add a map legend/key feature?

Open dwplots opened this issue 7 years ago • 2 comments

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!

dwplots avatar Jul 17 '17 19:07 dwplots

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.

riemannzetagambit avatar Aug 25 '17 18:08 riemannzetagambit

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.

andrea-cuttone avatar Sep 24 '17 08:09 andrea-cuttone