[core] - allow moveBy to use AnimationOptions
[android] - update jni bindings for moveBy with an interpolator
This commit is contained in:
@@ -478,9 +478,9 @@ void Map::flyTo(const CameraOptions& camera, const AnimationOptions& animation)
|
||||
|
||||
#pragma mark - Position
|
||||
|
||||
void Map::moveBy(const ScreenCoordinate& point, const Duration& duration) {
|
||||
void Map::moveBy(const ScreenCoordinate& point, const AnimationOptions& animation) {
|
||||
impl->cameraMutated = true;
|
||||
impl->transform.moveBy(point, duration);
|
||||
impl->transform.moveBy(point, animation);
|
||||
impl->onUpdate(Update::Repaint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user