Platforms to show: All Mac Windows Linux Cross-Platform
MKPlacemarkMBS class
Super class: CLPlacemarkMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Placemark data includes information such as the country, state, city, and street address associated with the specified coordinate. Placemark objects are typically generated by a MKReverseGeocoderMBS object, although you can also create them explicitly yourself.
A placemark is also an annotation and conforms to the MKAnnotationMBS interface, whose properties and methods include the placemark coordinate and other information. Because they are annotations, you can add them directly to the map view.
Subclass of the CLPlacemarkMBS class.
- property countryCode as String
- 8 methods
- method Constructor(coordinate as CLLocationCoordinate2DMBS)
- method Constructor(coordinate as CLLocationCoordinate2DMBS, addressDictionary as dictionary)
- method Constructor(coordinate as CLLocationCoordinate2DMBS, postalAddress as Variant)
- method Constructor(Handle as Integer)
- method Coordinate as CLLocationCoordinate2DMBS
- method SetCoordinate(newCoordinate as CLLocationCoordinate2DMBS)
- method SubTitle as String
- method Title as String
Super class CLPlacemarkMBS
- 18 properties
- property addressDictionary as Dictionary
- property administrativeArea as string
- property country as string
- property description as string
- property Handle as Integer
- property inlandWater as string
- property ISOcountryCode as string
- property locality as string
- property location as CLLocationMBS
- property name as string
- property ocean as string
- property postalAddress as variant
- property postalCode as string
- property region as CLRegionMBS
- property subAdministrativeArea as string
- property subLocality as string
- property subThoroughfare as string
- property thoroughfare as string
- 3 methods
- method areasOfInterest as string()
- method Constructor(placement as CLPlacemarkMBS)
- method copy as CLPlacemarkMBS
- shared method Available as boolean
This class has no sub classes.
Interfaces:
1 interfaces.
Some methods using this class:
- MKMapItemMBS.Constructor(PlaceMark as MKPlacemarkMBS)
Some properties using for this class:
- MKMapItemMBS.placemark as MKPlacemarkMBS
Some examples using this class:
Blog Entries
Xojo Developer Magazine
- 18.5, pages 81 to 83: Maps (Part 6), A deep dive into Annotations by Markus Winter
- 18.4, page 73: Maps Part 5 (Finding and Displaying Addresses), Implementing Maps in Xojo desktop apps with the MapKitMBS plug-in by Markus Winter
- 18.3, page 80: Xojo Maps, Part 4, Finding and Displaying Addresses with the MapKitMBS plugin by Markus Winter
Videos
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKPinAnnotationViewMBS - MKPointAnnotationMBS