MMKMapObjectDragListener

@protocol MMKMapObjectDragListener <NSObject>

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.

Summary

Instance methods

- (void)onMapObjectDragStartWithMapObject:(nonnull MMKMapObject *)mapObject;
Raised when dragging mode is active for the given map object

- (void)onMapObjectDragWithMapObject:(nonnull MMKMapObject *)mapObject
                               point:(nonnull MMKPoint *)point;

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

- (void)onMapObjectDragEndWithMapObject:(nonnull MMKMapObject *)mapObject;
Raised when the user released the tap

Instance methods

onMapObjectDragStartWithMapObject:

- (void)onMapObjectDragStartWithMapObject:(nonnull MMKMapObject *)mapObject;

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


onMapObjectDragWithMapObject:point:

- (void)onMapObjectDragWithMapObject:(nonnull MMKMapObject *)mapObject
                               point:(nonnull MMKPoint *)point;

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


onMapObjectDragEndWithMapObject:

- (void)onMapObjectDragEndWithMapObject:(nonnull MMKMapObject *)mapObject;

Raised when the user released the tap.