mapTemplate(_:didUpdateZoomGestureWithCenter:scale:velocity:)
Tells the delegate that a person is zooming on the map.
Declaration
optional func mapTemplate(_ mapTemplate: CPMapTemplate, didUpdateZoomGestureWithCenter center: CGPoint, scale: CGFloat, velocity: CGFloat)Parameters
- mapTemplate:
The Cpmaptemplate the gesture applies to.
- center:
A
CGPointthat indicates the center point of the zoom. - scale:
A
CGFloatthat indicates the scale factor relative to the zoom gesture in screen coordinates. - velocity:
The velocity of the zoom gesture in scale factor per second.