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

Default view #2381

Closed
rbovard opened this issue Feb 24, 2017 · 2 comments
Closed

Default view #2381

rbovard opened this issue Feb 24, 2017 · 2 comments
Assignees
Milestone

Comments

@rbovard
Copy link
Contributor

rbovard commented Feb 24, 2017

  • GeoMapFish version: 2.1.2.dev1

I'm not sure if it's global or specific to my project, but by default the map_x, map_y, map_zoom values are not set on loading with:

mapViewConfig: {
  center: [507000, 137850],
  zoom: 2,
  resolutions: [50, 20, 10, 5, 2.5, 2, 1, 0.5, 0.25, 0.1, 0.05, 0.02]
}

And if I try to pan, the values are set to NaN and 0.

Is there something else to do?

@ger-benjamin
Copy link
Member

I can reproduce it on the demo; It's not specific to your project.

@ger-benjamin
Copy link
Member

Closed with #2415

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