From a0992f05504ae093b5f770a5e5324307a12fc002 Mon Sep 17 00:00:00 2001 From: Tobrun Date: Fri, 17 Feb 2017 12:09:30 +0100 Subject: [core] - allow moveBy to use AnimationOptions [android] - update jni bindings for moveBy with an interpolator --- include/mbgl/map/map.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/mbgl/map') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index c51d7e9ffd..3939ab1881 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -86,7 +87,7 @@ public: void flyTo(const CameraOptions&, const AnimationOptions&); // Position - void moveBy(const ScreenCoordinate&, const Duration& = Duration::zero()); + void moveBy(const ScreenCoordinate&, const AnimationOptions& = {}); void setLatLng(const LatLng&, optional, const Duration& = Duration::zero()); void setLatLng(const LatLng&, optional, const Duration& = Duration::zero()); void setLatLng(const LatLng&, const Duration& = Duration::zero()); -- cgit v1.2.1