Platforms to show: All Mac Windows Linux Cross-Platform

MKPointAnnotationMBS class

Super class: MKShapeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MapKit MBS MacFrameworks Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Function: The MKPointAnnotation class defines a concrete annotation object located at a specified point.
dim mapview as MKMapViewMBS // your map view

// new pin
dim pin as new MKPointAnnotationMBS

pin.coordinate = mapView.centerCoordinate
pin.title = "Hello"

// show on map
mapView.addAnnotation pin
You can use this class, rather than define your own, in situations where all you want to do is associate a point on the map with a title.
Subclass of the MKShapeMBS class.

Super class MKShapeMBS

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine


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

MKPlacemarkMBS   -   MKPolygonMBS

Feedback: Report problem or ask question.

The biggest plugin in space...

Start Chat