Platforms to show: All Mac Windows Linux Cross-Platform
MapKitViewControlMBS control
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | MapKit | MBS MacFrameworks Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Notes:
This control is designed for Xojo (it may or may not work in REAL Studio if the Cocoa target is chosen)
As Xojo provides some events for us automatically like for context menu or mouse wheel, it does not mean that those events do work. The webview used in the map view seems to consume them before the plugin gets them.
- 44 events
- event annotationViewDidChangeDragState(mapView as MKMapViewMBS, annotationView as MKAnnotationViewMBS, newState as Integer, oldState as Integer)
- event beginGestureWithEvent(e as NSEventMBS) as boolean
- event BoundsChanged
- event Close
- event Closing
- event ClusterAnnotationForMemberAnnotations(mapView as MKMapViewMBS, memberAnnotations() as MKAnnotationMBS) as MKClusterAnnotationMBS
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didAddAnnotationViews(mapView as MKMapViewMBS, AnnotationViews() as MKAnnotationViewMBS)
- event DidAddOverlayRenderers(mapView as MKMapViewMBS, renderers() as MKOverlayRendererMBS)
- event didAddOverlayViews(mapView as MKMapViewMBS, overlayViews() as NSViewMBS)
- event didDeselectAnnotationView(mapView as MKMapViewMBS, view as MKAnnotationViewMBS)
- event didFailLoadingMap(mapView as MKMapViewMBS, error as NSErrorMBS)
- event didFailToLocateUserWithError(mapView as MKMapViewMBS, error as NSErrorMBS)
- event didFinishLoadingMap(mapView as MKMapViewMBS)
- event DidFinishRenderingMap(mapView as MKMapViewMBS, fullyRendered as boolean)
- event didSelectAnnotationView(mapView as MKMapViewMBS, view as MKAnnotationViewMBS)
- event didStopLocatingUser(mapView as MKMapViewMBS)
- event didUpdateUserLocation(mapView as MKMapViewMBS, userLocation as MKUserLocationMBS)
- event EnableMenuItems
- event endGestureWithEvent(e as NSEventMBS) as boolean
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- event magnifyWithEvent(e as NSEventMBS) as boolean
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event Open
- event Opening
- event pressureChange(e as NSEventMBS) as boolean
- event regionDidChangeAnimated(mapView as MKMapViewMBS, animated as boolean)
- event regionWillChangeAnimated(mapView as MKMapViewMBS, animated as boolean)
- event rendererForOverlay(mapView as MKMapViewMBS, overlay as MKOverlayMBS) as MKOverlayRendererMBS
- event rotateWithEvent(e as NSEventMBS) as boolean
- event ScaleFactorChanged(NewFactor as Double)
- event swipeWithEvent(e as NSEventMBS) as boolean
- event viewForAnnotation(mapView as MKMapViewMBS, annotation as MKAnnotationMBS) as MKAnnotationViewMBS
- event willStartLoadingMap(mapView as MKMapViewMBS)
- event willStartLocatingUser(mapView as MKMapViewMBS)
- event WillStartRenderingMap(mapView as MKMapViewMBS)
- property View as MKMapViewMBS
Some examples which use this control:
- /MacFrameworks/MapKit/MapKit Custom Icons example
- /MacFrameworks/MapKit/MapKit Custom Image
- /MacFrameworks/MapKit/MapKit Local Search
- /MacFrameworks/MapKit/MapKit Test
Blog Entries
- New desktop controls
- MBS Xojo Plugins, version 21.3pr1
- Three new controls for iOS in Xojo
- MBS Xojo Plugins, version 20.6pr3
- MBS Xojo Plugins, version 19.5pr1
- MBS Xojo / Real Studio Plugins, version 14.2pr6
Xojo Developer Magazine
Videos
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MapKitIOSControlMBS - NSButtonControlMBS
Feedback: Report problem or ask question.
