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

Flyover from point A at zoom X to point B at zoom Y for iOS. #2102

Closed
mb12 opened this issue Aug 17, 2015 · 5 comments
Closed

Flyover from point A at zoom X to point B at zoom Y for iOS. #2102

mb12 opened this issue Aug 17, 2015 · 5 comments
Labels
feature iOS Mapbox Maps SDK for iOS

Comments

@mb12
Copy link

mb12 commented Aug 17, 2015

Is there some way to emulate flyover from point A at zoom X to point B at zoom Y?

@1ec5
Copy link
Contributor

1ec5 commented Aug 17, 2015

This will be implemented as part of #1834. Hang tight!

@1ec5 1ec5 closed this as completed Aug 17, 2015
@1ec5 1ec5 reopened this Aug 17, 2015
@1ec5
Copy link
Contributor

1ec5 commented Aug 17, 2015

Just to be sure I understand your request, are you referring to something akin to Apple Maps’ flyover feature? Or something like the animation shown here?

@1ec5 1ec5 added feature iOS Mapbox Maps SDK for iOS labels Aug 17, 2015
@mb12
Copy link
Author

mb12 commented Aug 18, 2015

I do not need perspective mode. I just need to animate the following:

  1. Start at San Diego at reasonably high zoom.
  2. Zoom out to show overview
  3. Pan to San Francisco
  4. Zoom in again.

@incanus
Copy link
Contributor

incanus commented Aug 18, 2015

Something like this would be accomplished in MapKit with MKMapCamera and a series of them spun off on delays, chaining together independent animations.

I wonder if we could do better.

What about once we have the camera API complete, allowing for passing a waypoint-esque property with multiple points along the path, plus durations.

Alternatively, we could do a JS-style callback mechanism, chaining completion blocks, similar to a UIView animation block.

@1ec5 1ec5 mentioned this issue Aug 29, 2015
14 tasks
@1ec5 1ec5 closed this as completed Aug 29, 2015
@1ec5
Copy link
Contributor

1ec5 commented Aug 29, 2015

This would be accomplished with a combination of #2193 and #1581.

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

No branches or pull requests

3 participants