Map View Listener Lambda Impl
Lambda object adapter for MapViewListener. Callbacks are executed on main thread.
Constructors
Properties
Raw unprocessed detection of all pointers up from screen. Action where the last pointer goes up and no pointers are left on the screen.
This is called by the map service when the cursor is over a set of view components ( landmarks, markers, streets, vectors ). Current cursor selection can be obtained via MapView.cursorSelection... methods.
This is called by the map view when the cursor is over a set of landmarks. Lambda Signature: (LandmarkList) -> Unit
This is called by the map view when the cursor is over a scene object
This is called by the map view when the cursor is over a set of markers. Lambda Signature: (MarkerMatchList) -> Unit
This is called by the map view when the cursor is over a set of overlay items. Lambda Signature: (OverlayItemList) -> Unit
This is called by the map view when the cursor is over a path
This is called by the map view when the cursor is over a set of routes. Lambda Signature: (RouteList) -> Unit
This is called by the map view when the cursor is over a set of traffic events. Lambda Signature: (TrafficEventList) -> Unit
Single pointer double touch event. Lambda Signature: (pos: Xy) -> Unit A double touch event is defined as two consecutive touches within a preset time duration in milliseconds, and distance between the two touches has to be less than a preset distance in millimeters.
This is called by the map view when it enters in following position mode
This is called by the map view when camera entered manually adjusted following position
This is called by the map view when it exits the following position mode
This is called by the map view when the tracking mode needs an update from the touch handler
This is called by the map view when camera exited manually adjusted following position
This is called by the map view when a map label hovering was enabled
This is called by the map view when a map label hovering was enabled
This is called by the map view when a map label hovering was enabled
Single pointer long touch event. Lambda Signature: (pos: Xy) -> Unit A long touch event is defined as a pointer down longer than a preset time in milliseconds and then pointer up, and pointer movement has to be less than a preset distance in millimeters.
Map angle changed notification
Map style changed notification. Lambda Signature: (Long, String) -> Unit
Two pointers pinch event. Lambda Signature: (start1: Xy, start2: Xy, end1: Xy, end2: Xy, center: Xy) -> Unit A two pointers pinch event is defined as two pointers down, followed by moving one or both pointers toward or away from each other.
Two pointer rotating and zooming, or just zooming, swipe event. Lambda Signature: (centerPosInPix: Xy, zoomingSpeedInMMPerSec: Double, rotatingSpeedInMMPerSec: Double) -> Unit
Touch handler events listener. Lambda Signature: (ptrId: Long, pos: Xy) -> Unit Raw unprocessed pointer down started - used to determine when one of the other processed actions start. Set pointer down flag indicating that action started! The flag is cleared by the actual action, such as OnPinch, when it starts.
Raw unprocessed pointer move. Lambda Signature: (ptrId: Long, pos: Xy) -> Unit
Raw unprocessed pointer up. Lambda Signature: (ptrId: Long, pos: Xy) -> Unit
Single pointer touch move event. Lambda Signature: (start: Xy, end: Xy) -> Unit Touch move mode is enabled by performing a pointer touch immediately followed by a pointer down in same screen area, and then move.
Two pointers touch pinch event. Lambda Signature: (start1: Xy, start2: Xy, end1: Xy, end2: Xy) -> Unit Two fingers touch mode is enabled by performing a single pointer touch immediately followed by two pointers down, with one of the pointers close to the previous touch.
Two pointers double touch event. Lambda Signature: (pos: Xy) -> Unit A two pointers double touch event is defined as two consecutive two-pointer touches from which the pointer ups are within a preset time in milliseconds.
Two pointers touch event. Lambda Signature: (pos: Xy) -> Unit A two pointers touch event is defined as two simultaneous touches from which the pointer ups are within a preset time in milliseconds.
Notifies that canvas was resized because of the screen resize. Lambda Signature: (rect: Rect) -> Unit
Called by the View before rendering is started
Called by the View after rendering is finished. Lambda Signature: (EViewDataTransitionStatus, EViewCameraTransitionStatus) -> Unit
True for all events to be called on main thread else they will be called by the original callee thread.
Functions
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Raw unprocessed detection of all pointers up from screen. Action where the last pointer goes up and no pointers are left on the screen.
This is called by the map service when the cursor is over a set of view components ( landmarks, markers, streets, vectors ). Current cursor selection can be obtained via MapView.cursorSelection... methods.
This is called by the map view when the cursor is over a set of landmarks
This is called by the map view when the cursor is over a scene object
This is called by the map view when the cursor is over a set of markers
This is called by the map view when the cursor is over a set of overlay items
This is called by the map view when the cursor is over a path
This is called by the map view when the cursor is over a set of routes
This is called by the map view when the cursor is over a set of traffic events
Single pointer double touch event. A double touch event is defined as two consecutive touches within a preset time duration in milliseconds, and distance between the two touches has to be less than a preset distance in millimeters.
This is called by the map view when it enters in following position mode
This is called by the map view when camera entered manually adjusted following position
This is called by the map view when it exits the following position mode
This is called by the map view when camera exited manually adjusted following position
This is called by the map view when a map label hovering was enabled
This is called by the map view when a map label hovering was enabled
This is called by the map view when a map label hovering was enabled
Single pointer long touch event. A long touch event is defined as a pointer down longer than a preset time in milliseconds and then pointer up, and pointer movement has to be less than a preset distance in millimeters.
Map angle changed notification
Map style changed notification
Two pointer rotating and zooming, or just zooming, swipe event.
Touch handler events listener Raw unprocessed pointer down started - used to determine when one of the other processed actions start. Set pointer down flag indicating that action started! The flag is cleared by the actual action, such as OnPinch, when it starts.
Raw unprocessed pointer move
Raw unprocessed pointer up
Single pointer touch move event. Touch move mode is enabled by performing a pointer touch immediately followed by a pointer down in same screen area, and then move.
Two pointers touch pinch event. Two fingers touch mode is enabled by performing a single pointer touch immediately followed by two pointers down, with one of the pointers close to the previous touch.
Two pointers double touch event. A two pointers double touch event is defined as two consecutive two-pointer touches from which the pointer ups are within a preset time in milliseconds.
Two pointers touch event. A two pointers touch event is defined as two simultaneous touches from which the pointer ups are within a preset time in milliseconds.
Notifies that canvas was resized because of the screen resize
Called by the View before rendering is started
Called by the View after rendering is finished.