Xojo Conferences

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.
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

Collision Modes

Constant Value Description
CollisionModeCircle 1
CollisionModeRectangle 0

Display Priorities

Constant Value Description
DisplayPriorityDefaultHigh 750 A constant indicating that the item's display priority is high.
DisplayPriorityDefaultLow 250 A constant indicating that the item's display priority is low.
DisplayPriorityRequired 1000 A constant indicating that the item is required.

Drag States

Constant Value Description
DragStateCanceling 3 Drag was cancelled.
DragStateDragging 2 Drag is happening.
DragStateEnding 4 Drag is ending.
DragStateNone 0 No dragging.
DragStateStarting 1 Drag is starting.

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

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

MKOverlayRendererMBS   -   MKPlacemarkMBS

MBS FileMaker Plugins