MKMapView.AddOverlay MKMapView.AddOverlay Method

Definition

Overloads

AddOverlay(IMKOverlay) AddOverlay(IMKOverlay)
AddOverlay(IMKOverlay, MKOverlayLevel) AddOverlay(IMKOverlay, MKOverlayLevel)

Adds an overlay to the map.

AddOverlay(IMKOverlay) AddOverlay(IMKOverlay)

[Foundation.Export("addOverlay:")]
public virtual void AddOverlay (MapKit.IMKOverlay overlay);
abstract member AddOverlay : MapKit.IMKOverlay -> unit
override this.AddOverlay : MapKit.IMKOverlay -> unit

Parameters

AddOverlay(IMKOverlay, MKOverlayLevel) AddOverlay(IMKOverlay, MKOverlayLevel)

Adds an overlay to the map.

[Foundation.Export("addOverlay:level:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddOverlay (MapKit.IMKOverlay overlay, MapKit.MKOverlayLevel level);
abstract member AddOverlay : MapKit.IMKOverlay * MapKit.MKOverlayLevel -> unit
override this.AddOverlay : MapKit.IMKOverlay * MapKit.MKOverlayLevel -> unit

Parameters

overlay
IMKOverlay IMKOverlay

The overlay to add to the map.

level
MKOverlayLevel MKOverlayLevel

Specifies the Z-order of the overlay.

Applies to