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

Ensure the Modify Features Test example opens at correct zoom #10744

Merged
merged 2 commits into from
Mar 8, 2020

Conversation

mike-000
Copy link
Contributor

@mike-000 mike-000 commented Feb 27, 2020

The default projection isn't ideal for this example, but its side affects can be averted by setting multiWorld: true so the view opens at zoom 2 regardless of display width.

Set multiWorld: true so view opens at zoom 2 on wide displays
Set wrapX false on source
wrapX: false not needed for consistency with OL5
Copy link
Member

@ahocevar ahocevar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mike-000

@ahocevar ahocevar merged commit 1d4744b into openlayers:master Mar 8, 2020
@mike-000 mike-000 deleted the patch-7 branch March 8, 2020 23:02
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

Successfully merging this pull request may close these issues.

None yet

2 participants