MKMapView.ExchangeOverlays(nint, nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.