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

Zoom level global handling #646

Closed
emdete opened this issue Jul 7, 2015 · 3 comments
Closed

Zoom level global handling #646

emdete opened this issue Jul 7, 2015 · 3 comments
Milestone

Comments

@emdete
Copy link

emdete commented Jul 7, 2015

please consider to put the zoom level limitation into the library. currently there are 3 places where zoom levels can be set:

  • at the online tile class
  • at the tile layer
  • at the zoom controls

none of these talk to each other automatically (for example if a online tile may have smaller limits than set in the controls).

@devemux86
Copy link
Collaborator

For reference we have modelled the MapViewPosition core class which handles centrally the map position and its limits.

The related discussion in the forum is here.

@devemux86 devemux86 changed the title zoom level limitation Zoom level global handling Mar 13, 2016
@devemux86
Copy link
Collaborator

Related to #662.

@devemux86 devemux86 added this to the 0.6.1 milestone Mar 13, 2016
@devemux86
Copy link
Collaborator

I added setZoomLevelMin and setZoomLevelMax methods to MapView, handling also the zoom controls.

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

2 participants