onScale

open fun onScale(gestureDetector: MapGesturesDetector): Boolean

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

Return

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

Parameters

detector

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