Platforms to show: All Mac Windows Linux Cross-Platform
MKCustomOverlayRendererMBS class
Super class: MKOverlayRendererMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A special renderer with events for Xojo.
Subclass of the MKOverlayRendererMBS class.
- 2 events
- event canDrawMapRect(mapRect as MKMapRectMBS, zoomScale as Double) as Boolean
- event DrawMapRect(mapRect as MKMapRectMBS, zoomScale as Double, context as CGContextMBS)
- 3 methods
- method Constructor(Handle as Integer)
- method Constructor(overlay as MKOverlayMBS)
- method Destructor
Super class MKOverlayRendererMBS
- 4 properties
- property alpha as Double
- property contentScaleFactor as Double
- property Handle as Integer
- property overlay as MKOverlayMBS
- 11 methods
- method canDrawMapRect(Rect as MKMapRectMBS, zoomScale as Double) as Boolean
- method Constructor(Handle as Integer)
- method Constructor(overlay as MKOverlayMBS)
- method drawMapRect(Rect as MKMapRectMBS, zoomScale as Double, context as CGContextMBS)
- method mapPointForPoint(point as CGPointMBS) as MKMapPointMBS
- method mapRectForRect(Rect as CGRectMBS) as MKMapRectMBS
- method pointForMapPoint(mapRect as MKMapPointMBS) as CGPointMBS
- method RectForMapRect(mapRect as MKMapRectMBS) as CGRectMBS
- method setNeedsDisplay
- method setNeedsDisplayInMapRect(mapRect as MKMapRectMBS)
- method setNeedsDisplayInMapRect(mapRect as MKMapRectMBS, zoomScale as double)
- shared method RoadWidthAtZoomScale(zoomScale as double) as double
This class has no sub classes.
Some examples using this class:
Blog Entries
Xojo Developer Magazine
Release notes
- Version 19.2
- Added MKCustomOverlayMBS and MKCustomOverlayRendererMBS classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKCustomOverlayMBS - MKDirectionsMBS