MKMapView.ExchangeOverlays(nint, nint) 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
nint nint

The index of the first overlay.

index2
nint nint

The index of the second overlay.

Remarks

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

Applies to