Platforms to show: All Mac Windows Linux Cross-Platform
Back to MKMapItemMBS class.
MKMapItemMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
MKMapItemMBS.isCurrentLocation as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If the value of this property is true, the map item represents the user’s current location. If true, the value in the placemark property is set to nil.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use this property to specify the name associated with the location. For example, if there is a business at the specified location, you would use this property to specify the name of the business.
If this map item represents the user’s current location, the value in property is set to a localized version of “Current Location”.
(Read and Write property)
MKMapItemMBS.phoneNumber as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If there is a relevant phone number associated with the location, such as a phone number for a business at the location, use this property to specify that value.
(Read and Write property)
MKMapItemMBS.placemark as MKPlacemarkMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If you created the map item using the mapItemForCurrentLocation method, the value of this property is nil and the isCurrentLocation property is set to true.
(Read only property)
Some examples using this property:
MKMapItemMBS.timeZone as NSTimeZoneMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
When you search for map items, MapKit populates this field with the time zone information as a convenience. You may also set the time zone for any map items you create.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If there is a relevant URL associated with the location, such as a URL for a business at the location, use this property to specify that value.
(Read and Write property)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.