MKMapView.ExchangeOverlay(IMKOverlay, IMKOverlay) Method

Definition

Swaps the index position of two overlays, changing their z-order.

[Foundation.Export("exchangeOverlay:withOverlay:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ExchangeOverlay (MapKit.IMKOverlay overlay1, MapKit.IMKOverlay overlay2);
abstract member ExchangeOverlay : MapKit.IMKOverlay * MapKit.IMKOverlay -> unit
override this.ExchangeOverlay : MapKit.IMKOverlay * MapKit.IMKOverlay -> unit

Parameters

overlay1
IMKOverlay

The first overlay.

overlay2
IMKOverlay

The second overlay.

Attributes

Applies to