Contents

mapTemplate(_:didRotateWithCenter:rotation:velocity:)

Tells the delegate that a person is rotating the map.

Declaration

optional func mapTemplate(_ mapTemplate: CPMapTemplate, didRotateWithCenter center: CGPoint, rotation: CGFloat, velocity: CGFloat)

Parameters

  • mapTemplate:

    The Cpmaptemplate the gesture applies to.

  • center:

    A CGPoint that indicates the center between two fingers performing the rotation gesture.

  • rotation:

    A CGFloat that indicates the rotation of the gesture in radians.

  • velocity:

    The velocity of the rotation gesture in radians per second.