MKPointAnnotationMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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
The MKPointAnnotation class defines a concrete annotation object located at a specified point.
Example
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

Videos


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


MKPlacemarkMBS   -   MKPolygonMBS


💬 Ask a question or report a problem