Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKMapCameraMBS class.

MKMapCameraMBS.altitude as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The altitude above the ground, measured in meters.

The value you specify for this property must not be less than 0.
Changing this property may also change the maximum pitch that is allowed for the map. If the current pitch value exceeds the new maximum, the pitch property is clamped to the new maximum.
(Read and Write property)

MKMapCameraMBS.centerCoordinate as CLLocationCoordinate2DMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The map coordinate at the center of the map view.

This point represents the coordinate on which the map should be centered. When the camera pitch is 0, this property also corresponds to the geographic position of the camera. Changing the pitch to a nonzero value moves the camera but does not affect this property.
(Read and Write property)

MKMapCameraMBS.heading as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The heading of the camera (measured in degrees) relative to true north.

The value 0 means that the top edge of the map view corresponds to true north. The value 90 means the top of the map is pointing due east. The value 180 means the top of the map points due south, and so on.
(Read and Write property)

MKMapCameraMBS.pitch as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The viewing angle of the camera, measured in degrees.

A value of 0 results in a camera pointed straight down at the map. Angles greater than 0 result in a camera that is pitched toward the horizon by the specified number of degrees. If the map type is MapTypeSatellite or MapTypeHybrid, the pitch value is clamped to 0.
The value in this property may be clamped to a maximum value to maintain map readability. There is no fixed maximum value, though, because the actual maximum value is dependent on the current altitude of the camera.
(Read and Write property)

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


The biggest plugin in space...