Edit

Share via


MKMapView.AddOverlay Method

Definition

Overloads

AddOverlay(IMKOverlay)
AddOverlay(IMKOverlay, MKOverlayLevel)

Adds an overlay to the map.

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

overlay
IMKOverlay
Attributes

Applies to

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

The overlay to add to the map.

level
MKOverlayLevel

Specifies the Z-order of the overlay.

Attributes

Applies to