-
Notifications
You must be signed in to change notification settings - Fork 1.3k
flyTo equivalent #256
Comments
Can you give an example of this? Is this where it zooms way high, then back down to earth? |
@incanus yep, that's it. Useful when you need to smoothly animate the view to some place no matter how far it is. E.g. it was used actively in the auto demo, and Mapbox party demo where it cycled between different places around the world. It can also rotate during animation. |
We should emulate mapbox/mapbox-gl-js#1215 here for all the methods related to map view options. It would be nice if C++14 supported C99's designated initializers. In lieu of that we'll probably want to support a chaining syntax:
|
Ah, using a struct would be less convenient in the absence of designated initializers or compound literals. clang++ supports both in C++14, but we’ve enabled pedantic warnings as errors, forbidding their use in this codebase. |
A struct what I was implicitly going for with |
Camera API is close to landing: #2193 |
|
Whoops, good catch. |
I’m sure I’ll begin to understand what all these letters mean once I start debugging. Fixes #256.
Piggybacking off of @adam-mapbox's work in this branch in c788cea and some chat discussion, we might look into temporarily disabling compression in our SQLite caching backend to see if it helps with drawing after jumps. Profiling would probably be in order too, just to see what is the bottleneck (if possible). |
Per some chat discussion, we could also look into loading 1/4 as many parent tiles or even 1/16 as many grandparent tiles for the destination as a way to quickly warm the cache so that something could be drawn closer to as soon as we land. |
It would be nice to port ballistic zoom-pan from llmr, as it is usually very useful in demos. I might look into it.
The text was updated successfully, but these errors were encountered: