Protocol YMKInertiaMoveListener

Listener for user interactions with the map.

Instance Methods

- onCancelWithMap:cameraPosition:

Called when inertia move is cancelled.

- onFinishWithMap:cameraPosition:

Called when inertia move is finished.

- onStartWithMap:finishCameraPosition:

Called when an inertia move is started.

Method Detail

-onCancelWithMap:cameraPosition:

- (void)onCancelWithMap:(nonnull YMKMap *)map
         cameraPosition:(nonnull YMKCameraPosition *)cameraPosition 

Called when inertia move is cancelled.

Parameters:
cameraPosition

Current camera position.

-onFinishWithMap:cameraPosition:

- (void)onFinishWithMap:(nonnull YMKMap *)map
         cameraPosition:(nonnull YMKCameraPosition *)cameraPosition 

Called when inertia move is finished.

Parameters:
cameraPosition

Current camera position.

-onStartWithMap:finishCameraPosition:

- (void)onStartWithMap:(nonnull YMKMap *)map
  finishCameraPosition:(nonnull YMKCameraPosition *)finishCameraPosition 

Called when an inertia move is started.

Parameters:
finishCameraPosition

Approximate position of camera when the inertia move finishes.