registerOnTouch method
Single pointer touch down event.
A touch event is defined as a pointer down and up within a preset time in milliseconds, and pointer movement has to be less than a preset distance in millimeters.
Parameters
- IN pos is the position where the event occurred
Implementation
void registerOnTouch(final TouchCallback? touchCallback) {
_touchCallback = touchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'mapViewOnTouch',
touchCallback == null,
);
}