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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | MapKit | MBS MacFrameworks Plugin | 21.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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 | Desktop & iOS |
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.