Platforms to show: All Mac Windows Linux Cross-Platform

Back to DesktopMapKitViewControlMBS control.

Previous items

DesktopMapKitViewControlMBS.regionDidChangeAnimated(mapView as MKMapViewMBS, animated as boolean)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Tells the control that the region displayed by the map view just changed.
Notes:
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.
DesktopMapKitViewControlMBS.regionWillChangeAnimated(mapView as MKMapViewMBS, animated as boolean)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Tells the control that the region displayed by the map view is about to change.
Notes:
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.
DesktopMapKitViewControlMBS.rendererForOverlay(mapView as MKMapViewMBS, overlay as MKOverlayMBS) as MKOverlayRendererMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Asks the control for a renderer object to use when drawing the specified overlay.
Notes:
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.
DesktopMapKitViewControlMBS.rotateWithEvent(e as NSEventMBS) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Informs the receiver that the user has begun a rotation gesture.
Notes:
e: An event object representing the rotate gesture.
The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.
Return true if you handled this event.
DesktopMapKitViewControlMBS.ScaleFactorChanged(NewFactor as Double)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: The backing store scale factor has changed.
Notes: Please invalidate any cached bitmaps or other relevant state.
DesktopMapKitViewControlMBS.swipeWithEvent(e as NSEventMBS) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Informs the receiver that the user has begun a swipe gesture.
Notes:
e: An event object representing the swipe gesture.
The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.
Return true if you handled this event.
DesktopMapKitViewControlMBS.viewForAnnotation(mapView as MKMapViewMBS, annotation as MKAnnotationMBS) as MKAnnotationViewMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: The event to query an annotation view for the given annotation.
DesktopMapKitViewControlMBS.willStartLoadingMap(mapView as MKMapViewMBS)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Tells the control that the specified map view is about to retrieve some map data.
Notes:
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.
DesktopMapKitViewControlMBS.willStartLocatingUser(mapView as MKMapViewMBS)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Tells the control that the map view will start tracking the user's position.
Notes:
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.
DesktopMapKitViewControlMBS.WillStartRenderingMap(mapView as MKMapViewMBS)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Tells you that the map view is about to start rendering some of its tiles.
Notes: The map view calls this method when one or more tiles are revealed and require rendering.

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...


Start Chat