Platforms to show: All Mac Windows Linux Cross-Platform
Back to MapKitIOSControlMBS control.
MapKitIOSControlMBS.annotationViewDidChangeDragState(mapView as MKMapViewMBS, annotationView as MKAnnotationViewMBS, newState as integer, oldState as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view containing the annotation view.
annotationView: The annotation view whose drag state changed.
newState: The new drag state of the annotation view.
oldState: The previous drag state of the annotation view.
The drag state typically changes in response to user interactions with the annotation view. However, the annotation view itself is responsible for changing that state as well.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
MapKitIOSControlMBS.ClusterAnnotationForMemberAnnotations(mapView as MKMapViewMBS, memberAnnotations() as MKAnnotationMBS) as MKClusterAnnotationMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view containing the specified annotations.
memberAnnotations: The annotations to be clustered together. The returned MKClusterAnnotation object must include the specific annotations in this parameter.
Return the cluster annotation object.
Use this method to customize the cluster annotations displayed on your map. Normally, MapKit creates cluster annotation objects automatically when one or more annotations with the same cluster identifier are too close together. However, you can implement this method and return a custom cluster annotation object for the specified set of annotations.
MapKitIOSControlMBS.didAddAnnotationViews(mapView as MKMapViewMBS, AnnotationViews() as MKAnnotationViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that added the annotation views.
views: An array of MKAnnotationView objects representing the views that were added.
By the time this method is called, the specified views are already added to the map.
MapKitIOSControlMBS.DidAddOverlayRenderers(mapView as MKMapViewMBS, renderers() as MKOverlayRendererMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that added the renderer objects.
renderers: The renderer objects that were added.
The map view adds renderer objects when it needs them to draw their contents, which might be prior to those contents appearing onscreen. It calls this method to let you know that the renderer is active and in use. By the time this method is called, the specified renderers have already been added to the map.
MapKitIOSControlMBS.didAddOverlayViews(mapView as MKMapViewMBS, overlayViews() as NSViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
MapKitIOSControlMBS.didDeselectAnnotationView(mapView as MKMapViewMBS, view as MKAnnotationViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view containing the annotation view.
view: The annotation view that was deselected.
You can use this method to track changes in the selection state of annotation views.
MapKitIOSControlMBS.didFailLoadingMap(mapView as MKMapViewMBS, error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that started the load operation.
error: The reason that the map data could not be loaded.
This method might be called in situations where the device does not have access to the network or is unable to load the map data for some reason. It may also be called if a request for additional map tiles comes in while a previous request for tiles is still pending. You can use this message to notify the user that the map data is unavailable.
MapKitIOSControlMBS.didFailToLocateUserWithError(mapView as MKMapViewMBS, error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that is tracking the user's location.
error: An error object containing the reason why location tracking failed.
MapKitIOSControlMBS.didFinishLoadingMap(mapView as MKMapViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that started the load operation.
This method is called when the map tiles associated with the current request have been loaded. Map tiles are requested when a new visible area is scrolled into view and tiles are not already available. Map tiles may also be requested for portions of the map that are not currently visible. For example, the map view may load tiles immediately surrounding the currently visible area as needed to handle small pans by the user.
MapKitIOSControlMBS.DidFinishRenderingMap(mapView as MKMapViewMBS, fullyRendered as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
fullyRendered: This parameter is set to true if the map view was able to render all tiles completely or false if errors prevented all tiles from being rendered.
This method lets you know when the map view finishes rendering all of the currently visible tiles to the best of its ability. This method is called regardless of whether all tiles were rendered successfully. If there were errors loading one or more tiles that prevented map view from rendering them, the fullyRendered parameter is set to false.
MapKitIOSControlMBS.didSelectAnnotationView(mapView as MKMapViewMBS, view as MKAnnotationViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view containing the annotation view.
view: The annotation view that was selected.
You can use this method to track changes in the selection state of annotation views.
MapKitIOSControlMBS.didStopLocatingUser(mapView as MKMapViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that stopped tracking the user's location.
This method is called when the value of the showsUserLocation property changes to false.
MapKitIOSControlMBS.didUpdateUserLocation(mapView as MKMapViewMBS, userLocation as MKUserLocationMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that is tracking the user's location.
userLocation: The location object representing the user's latest location. This property may be nil.
While the showsUserLocation property is set to true, this method is called whenever a new location update is received by the map view. This method is also called if the map view's user tracking mode is set to MKUserTrackingModeFollowWithHeading and the heading changes.
This method is not called if the application is currently running in the background. If you want to receive location updates while running in the background, you must use the Core Location framework.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
This only fires if the control itself got focus and not a sub control.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
This only fires if the control itself lost focus and not a sub control.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
MapKitIOSControlMBS.regionDidChangeAnimated(mapView as MKMapViewMBS, animated as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view whose visible region changed.
animated: If true, the change to the new region was animated.
This method is called whenever the currently displayed map region changes. During scrolling, this method may be called many times to report updates to the map position. Therefore, your implementation of this method should be as lightweight as possible to avoid affecting scrolling performance.
MapKitIOSControlMBS.regionWillChangeAnimated(mapView as MKMapViewMBS, animated as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view whose visible region is about to change.
animated: If true, the change to the new region will be animated. If NO, the change will be made immediately.
This method is called whenever the currently displayed map region changes. During scrolling, this method may be called many times to report updates to the map position. Therefore, your implementation of this method should be as lightweight as possible to avoid affecting scrolling performance.
MapKitIOSControlMBS.rendererForOverlay(mapView as MKMapViewMBS, overlay as MKOverlayMBS) as MKOverlayRendererMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that requested the renderer object.
overlay: The overlay object that is about to be displayed.
Return the renderer to use when presenting the specified overlay on the map.
You must implement this method and use it to provide an appropriate renderer object for your overlays. The renderer object is responsible for drawing the contents of your overlay when asked to do so by the map view. Map Kit supports many different types of standard renderer objects and you may also define your own custom renderers.
If you don't implement this event, the MBS Plugin returns a default renderer.
MapKitIOSControlMBS.touchesBegan(e as NSEventMBS, touches() as NSTouchMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 23.5 | ❌ No | ❌ No | ❌ No | ✅ Yes |
e: The event to which the touches belong.
UIKit calls this method when a new touch is detected in a view or window. Many UIKit classes override this method and use it to handle the corresponding touch events. The default implementation of this method forwards the message up the responder chain.
Return true if you handled it as otherwise we pass it on.
MapKitIOSControlMBS.touchesCancelled(e as NSEventMBS, touches() as NSTouchMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 23.5 | ❌ No | ❌ No | ❌ No | ✅ Yes |
e: The event to which the touches belong.
UIKit calls this method when it receives a system interruption requiring cancellation of the touch sequence. An interruption is anything that causes the application to become inactive or causes the view handling the touch events to be removed from its window. Your implementation of this method should clean up any state associated with handling the touch sequence.
Return true if you handled it as otherwise we pass it on.
MapKitIOSControlMBS.touchesEnded(e as NSEventMBS, touches() as NSTouchMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 23.5 | ❌ No | ❌ No | ❌ No | ✅ Yes |
e: The event to which the touches belong.
UIKit calls this method when a finger or Apple Pencil is no longer touching the screen. Many UIKit classes override this method and use it to clean up state involved in the handling of the corresponding touch events. The default implementation of this method forwards the message up the responder chain.
Return true if you handled it as otherwise we pass it on.
MapKitIOSControlMBS.touchesMoved(e as NSEventMBS, touches() as NSTouchMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 23.5 | ❌ No | ❌ No | ❌ No | ✅ Yes |
e: The event to which the touches belong.
UIKit calls this method when the location or force of a touch changes. Many UIKit classes override this method and use it to handle the corresponding touch events. The default implementation of this method forwards the message up the responder chain.
Return true if you handled it as otherwise we pass it on.
MapKitIOSControlMBS.viewForAnnotation(mapView as MKMapViewMBS, annotation as MKAnnotationMBS) as MKAnnotationViewMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
MapKitIOSControlMBS.willStartLoadingMap(mapView as MKMapViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that began loading the data.
This method is called whenever a new group of map tiles need to be downloaded from the server. This typically occurs whenever you expose portions of the map by panning or zooming the content. You can use this method to mark the time that it takes for the map view to load the data.
MapKitIOSControlMBS.willStartLocatingUser(mapView as MKMapViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
mapView: The map view that is tracking the user's location.
This method is called when the value of the showsUserLocation property changes to true.
MapKitIOSControlMBS.WillStartRenderingMap(mapView as MKMapViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes |
The map view calls this method when one or more tiles are revealed and require rendering.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.