Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dwplots opened this issue Jul 17, 2017 · 2 comments
Open

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

dwplots opened this issue Jul 17, 2017 · 2 comments

Comments

@dwplots
Copy link

dwplots commented Jul 17, 2017

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!

@riemannzetagambit
Copy link

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.

@andrea-cuttone
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants