diff options
Diffstat (limited to 'src/mbgl/map/transform.hpp')
-rw-r--r-- | src/mbgl/map/transform.hpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mbgl/map/transform.hpp b/src/mbgl/map/transform.hpp index 75dfeff645..ffeff3859c 100644 --- a/src/mbgl/map/transform.hpp +++ b/src/mbgl/map/transform.hpp @@ -34,12 +34,16 @@ public: /** Instantaneously, synchronously applies the given camera options. */ void jumpTo(const CameraOptions&); /** Asynchronously transitions all specified camera options linearly along - an optional time curve. */ + an optional time curve. However, center coordinate is not transitioned + linearly as, instead, ground speed is kept linear.*/ void easeTo(const CameraOptions&, const AnimationOptions& = {}); /** Asynchronously zooms out, pans, and zooms back into the given camera along a great circle, as though the viewer is riding a supersonic - jetcopter. */ - void flyTo(const CameraOptions&, const AnimationOptions& = {}); + jetcopter. + Parameter linearZoomInterpolation: when true, there is no additional + zooming out as zoom is linearly interpolated from current to given + camera zoom. This is used for easeTo.*/ + void flyTo(const CameraOptions&, const AnimationOptions& = {}, bool linearZoomInterpolation = false); // Position |