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

MapElementImageProvider does not support implicit positioning #222

Open
chris-landclan opened this issue Sep 29, 2021 · 0 comments
Open

Comments

@chris-landclan
Copy link

chris-landclan commented Sep 29, 2021

Google's Static Maps API has a feature called "implicit positioning" that sets the map location and zoom level based upon paths and markers provided in the URL. Currently the MapElementImageProvider adds the 'center' and 'zoom' parameters to the URL, preventing implicit positioning from being an option.

See https://developers.google.com/maps/documentation/maps-static/start#ImplicitPositioning

Proposed new feature would add support for implicit positioning when location is not set, provided that there are markers and/or paths, by omitting the center and zoom parameters from the URL.

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

1 participant