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

Don't default to Switzerland for center: { lat, lng } #4

Open
bittner opened this issue Sep 1, 2016 · 0 comments
Open

Don't default to Switzerland for center: { lat, lng } #4

bittner opened this issue Sep 1, 2016 · 0 comments

Comments

@bittner
Copy link
Member

bittner commented Sep 1, 2016

The JavaScript implementations currently initialize the center value to an arbitrary point in Switzerland:

This results in the map "jumping" from an initially drawn location in Switzerland to the location specified by the plugin user (the website). The behavior seems unnecessary and can be avoided.

Expected Result, Expected Implementation

  • The map should draw the requested location immediately. No "jumping" should be noticeable.
  • The options.center value can be initialized correctly before the map is initialized and drawn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant