onScale

abstract fun onScale(detector: MapGesturesDetector): Boolean

Responds to scaling events for a gesture in progress. Reported by pointer motion.

Return

Whether or not the detector should consider this event as handled. If an event was not handled, the detector will continue to accumulate movement until an event is handled. This can be useful if an application, for example, only wants to update scaling factors if the change is greater than 0.01.

Parameters

detector

The detector reporting the event - use this to retrieve extended info about event state.