Share via


CPMapTemplateDelegate.DidRotate Method

Definition

Method that is called when the map is rotated.

[Foundation.Export("mapTemplate:didRotateWithCenter:rotation:velocity:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidRotate(CarPlay.CPMapTemplate mapTemplate, CoreGraphics.CGPoint center, System.Runtime.InteropServices.NFloat rotation, System.Runtime.InteropServices.NFloat velocity);
[<Foundation.Export("mapTemplate:didRotateWithCenter:rotation:velocity:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidRotate : CarPlay.CPMapTemplate * CoreGraphics.CGPoint * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit
override this.DidRotate : CarPlay.CPMapTemplate * CoreGraphics.CGPoint * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit

Parameters

mapTemplate
CPMapTemplate

The template for the map that was rotated.

center
CGPoint

The center point of the rotation.

rotation
NFloat

The rotation angle in radians.

velocity
NFloat

The rotation velocity.

Implements

Attributes

Applies to