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

Explicit Map Extent #4

Open
christophlingg opened this issue Jul 8, 2016 · 2 comments
Open

Explicit Map Extent #4

christophlingg opened this issue Jul 8, 2016 · 2 comments

Comments

@christophlingg
Copy link
Member

see #3

@maxvonhippel
Copy link

This is a feature I also need. I'm new to the static map library, but I'd be happy to work on adding this myself. Do you happen to know where in the code I should start?

@maxvonhippel
Copy link

Ok, just submitted a pull request to fix this. I did not add support for explicit map extent for maps which are not blank because that is a) not a feature I need (sorry for being selfish) and b) a much more difficult feature to implement, however, I did add support for explicit map extent for blank maps. This is a more useful feature than you might presume. For example, for my use case, I am creating .gif's of mapping over time from OSM data, and on some days there is no activity so I need to show a blank map. But I don't want to just center on [0.0], I want to stay looking at the place I was looking at before. For use cases such as that, the ability to explicitly define a blank map is useful. See more here.

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

2 participants