MKMapView.AddOverlay 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.
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