Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKCustomOverlayMBS class.

MKCustomOverlayMBS.boundingMapRect as MKMapRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The projected rectangle that encompasses the overlay.

This property contains the smallest rectangle that completely encompasses the overlay. Implementers of this interface must set this area when implementing their overlay class, and after setting it, you must not change it. The rectangle should be specified using projected coordinates—that is, coordinates obtained by projecting the globe onto a two-dimensional surface.

Part of the MKOverlayMBS interface.

MKCustomOverlayMBS.canReplaceMapContent as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean indicating whether the overlay content replaces the underlying map content.

true if the map view can skip the loading and drawing of the underlying map tiles or false if the map tiles should still be drawn.

The map view uses the return value of this method as a hint to determine whether it should load and render its tiles. If your overlay covers its designated region entirely with opaque content, and effectively replaces the content of underlying map tiles, implement this method and return true. Doing so alleviates the need for the map to render its tiles.
If you do not implement this method, or if you return false from it, the map view continues to load and render its tiles.

Part of MKOverlayMBS interface.

See also:

MKCustomOverlayMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The constructor.

See also:

MKCustomOverlayMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 21.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Constructor for creating an instanced based on an existing handle.

Useful if you get a MKCustomOverlay reference from a declare.
The object is retained.

See also:

MKCustomOverlayMBS.Coordinate as CLLocationCoordinate2DMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The center point of the circular area, specified as a latitude and longitude.

MKCustomOverlayMBS.intersectsMapRect(mapRect as MKMapRectMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether this overlay intersects with the given map rectangle.

Part of the MKOverlayMBS interface.

MKCustomOverlayMBS.setBoundingMapRect(m as MKMapRectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets boundingMapRect property.

Some examples using this method:

MKCustomOverlayMBS.SetCoordinate(newCoordinate as CLLocationCoordinate2DMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Set the coordinate of the annotation.

Part of the MKAnnotationMBS interface.

MKCustomOverlayMBS.SubTitle as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The subtitle of the item.

Part of the MKOverlayMBS interface.

See also:

MKCustomOverlayMBS.Title as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The title of the annotation.

Part of the MKAnnotationMBS interface.

See also:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...