MKOverlay Class
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.
Describes a map annotation that combines a location and a geometric shape.
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_iOS__MapKit_MKOverlay", false)]
public abstract class MKOverlay : MapKit.MKAnnotation, IDisposable, MapKit.IMKOverlay
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_MacCatalyst__MapKit_MKOverlay", false)]
public abstract class MKOverlay : MapKit.MKAnnotation, IDisposable, MapKit.IMKOverlay
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_macOS__MapKit_MKOverlay", false)]
public abstract class MKOverlay : MapKit.MKAnnotation, IDisposable, MapKit.IMKOverlay
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_tvOS__MapKit_MKOverlay", false)]
public abstract class MKOverlay : MapKit.MKAnnotation, IDisposable, MapKit.IMKOverlay
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_iOS__MapKit_MKOverlay", false)>]
type MKOverlay = class
inherit MKAnnotation
interface IMKOverlay
interface INativeObject
interface IDisposable
interface IMKAnnotation
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_MacCatalyst__MapKit_MKOverlay", false)>]
type MKOverlay = class
inherit MKAnnotation
interface IMKOverlay
interface INativeObject
interface IDisposable
interface IMKAnnotation
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_macOS__MapKit_MKOverlay", false)>]
type MKOverlay = class
inherit MKAnnotation
interface IMKOverlay
interface INativeObject
interface IDisposable
interface IMKAnnotation
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_tvOS__MapKit_MKOverlay", false)>]
type MKOverlay = class
inherit MKAnnotation
interface IMKOverlay
interface INativeObject
interface IDisposable
interface IMKAnnotation
- Inheritance
- Attributes
- Implements
Remarks
MKOverlays allow the application developer to layer graphics above an MKMapView. The MKOverlay will automatically position, zoom, and redirect itself to the underlying MKMapView.
iOS provides several standard overlays:
| Class | Description |
|---|---|
| MKCircle | A circular region |
| MKPolygon | A closed polygonal area. |
| MKPolyline | An area defined by points in which the first and final points are not automatically joined. |
Constructors
| Name | Description |
|---|---|
| MKOverlay() |
Creates a new MKOverlay with default values. |
| MKOverlay(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| MKOverlay(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| BoundingMapRect | |
| CanReplaceMapContent | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. (Inherited from NSObject) |
| Coordinate | (Inherited from MKAnnotation) |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Subtitle | (Inherited from MKAnnotation) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Title | (Inherited from MKAnnotation) |
| Zone | (Inherited from NSObject) |