Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

implement pan constraints #48

Closed
1 of 2 tasks
incanus opened this issue Feb 6, 2014 · 5 comments
Closed
1 of 2 tasks

implement pan constraints #48

incanus opened this issue Feb 6, 2014 · 5 comments
Labels
Milestone

Comments

@incanus
Copy link
Contributor

incanus commented Feb 6, 2014

  • Overall, the map view should be constrained to not show areas outside of the Mercator projection on screen (barring wraparound as done in Tile wrapping #14) the same way that it is zoom constrained.
  • Then, there should be an API for setting those constraints to an area arbitrarily smaller than the whole world.
@incanus incanus added this to the WWDC milestone Apr 29, 2014
@incanus
Copy link
Contributor Author

incanus commented May 15, 2014

Part of this will also include auto-adjusting the minimum zoom level possible such that the entire viewport is filled with map.

@kkaefer I think this should go in at the C++ level so that we basically don't ever see this:

screen shot 2014-05-14 at 5 33 00 pm

Or ever allow this to happen:

anigif-1400114205

But if you disagree and see a use case for this, I can push it up to the iOS-specific level as we definitely don't want it there.

@incanus
Copy link
Contributor Author

incanus commented May 16, 2014

Per chat, 👍 from @kkaefer.

@incanus
Copy link
Contributor Author

incanus commented May 22, 2014

Then, there should be an API for setting those constraints to an area arbitrarily smaller than the whole world.

Carrying this over to a new, low priority ticket.

@incanus
Copy link
Contributor Author

incanus commented May 22, 2014

#236

@incanus
Copy link
Contributor Author

incanus commented May 23, 2014

Also tackled here was adjusting min zoom to fit viewport limits.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant