Modifier

Partager via


MKMapView.ExchangeOverlays(nint, nint) Method

Definition

Swaps the index positions of two overlays.

[Foundation.Export("exchangeOverlayAtIndex:withOverlayAtIndex:")]
public virtual void ExchangeOverlays (nint index1, nint index2);
abstract member ExchangeOverlays : nint * nint -> unit
override this.ExchangeOverlays : nint * nint -> unit

Parameters

index1
System.System.IntPtr System.nativeint

The index of the first overlay.

index2
System.System.IntPtr System.nativeint

The index of the second overlay.

Attributes

Remarks

Changing the index positions of the overlays will swap their z-order on the map.

Applies to