Protocol YMKMapObjectDragListener

This listener is notified when a map object is being dragged.

Note that the map object's "draggable" property needs to be set to True in order to activate dragging. A long tap on a map object activates dragging mode.

Instance Methods

- onMapObjectDragEndWithMapObject:

Raised when the user released the tap.

- onMapObjectDragStartWithMapObject:

Raised when dragging mode is active for the given map object.

- onMapObjectDragWithMapObject:point:

Raised when the user is moving a finger and the map object follows it.

- onMapObjectDragEndWithMapObject:

Raised when the user released the tap.

- onMapObjectDragStartWithMapObject:

Raised when dragging mode is active for the given map object.

- onMapObjectDragWithMapObject:point:

Raised when the user is moving a finger and the map object follows it.

Method Detail

-onMapObjectDragEndWithMapObject:

- (void)onMapObjectDragEndWithMapObject:(nullable YMKMapObject *)mapObject 

Raised when the user released the tap.

-onMapObjectDragStartWithMapObject:

- (void)onMapObjectDragStartWithMapObject:(nullable YMKMapObject *)mapObject 

Raised when dragging mode is active for the given map object.

-onMapObjectDragWithMapObject:point:

- (void)onMapObjectDragWithMapObject:(nullable YMKMapObject *)mapObject
                               point:(nonnull YMKPoint *)point 

Raised when the user is moving a finger and the map object follows it.