Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

MKPinAnnotationViewMBS class

Super class: MKAnnotationViewMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class MapKit MBS MacFrameworks Plugin 14.1 Yes No No Yes, macOS only No
Function: The MKPinAnnotationView class provides a concrete annotation view that displays a pin icon like the ones found in the Maps application.
Notes:
Using this class, you can configure the type of pin to drop and whether you want the pin to be animated into place.
Subclass of the MKAnnotationViewMBS class.

Feedback, Comments & Corrections

Color constants

Constant Value Description
ColorBlue 2 The head of the pin is blue. Purple pins indicate user-specified points on the map.
ColorGreen 1 The head of the pin is green. Green pins indicate starting points on the map.
ColorRed 0 The head of the pin is red. Red pins indicate destination points on the map.

Super class MKAnnotationViewMBS

Drag States

Constant Value Description
DragStateCanceling 3 An action occurred that indicated the view should cancel the drag operation. You can put an annotation view into this state to abort the operation.
DragStateDragging 2 The view is in the middle of a drag operation and is tracking progress.
DragStateEnding 4 An action occurred that indicated the view was dropped by the user. The map view automatically moves annotation views to this state in response to appropriate user actions.
DragStateNone 0 The view is not involved in a drag operation. The annotation view is responsible for returning itself to this state when a drag ends or is canceled.
DragStateStarting 1 An action occurred that indicated the view should begin dragging. The map view automatically moves annotation views to this state in response to appropriate user actions.

Super class MKViewMBS

This class has no sub classes.

Some examples which use this class:


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


MKOverlayViewMBS   -   MKPlacemarkMBS




Links
MBS FileMaker blog