MapKit.MKMapView.ExchangeOverlays Method
Swaps the index positions of two overlays.

Syntax

[Foundation.Export("exchangeOverlayAtIndex:withOverlayAtIndex:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
public virtual void ExchangeOverlays (nint index1, nint index2)

Parameters

index1
The index of the first overlay.
index2
The index of the second overlay.

Remarks

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

Requirements

Namespace: MapKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0