Platforms to show: All Mac Windows Linux Cross-Platform
MKMapCameraMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A camera object defines a virtual viewpoint above the map surface and affects how the map is presented to the user. You use a camera object to specify the location of the camera on the map, the compass heading indicating the camera’s viewing direction, the pitch of the camera relative to the map perpendicular, and the camera’s altitude above the map. These factors create a map view with a three dimensional perspective.
After creating an instance of this class, configure it with the desired attributes and assign it to your map view. When you assign a camera to your map view, the map centers the map using the value in your camera object’s centerCoordinate property, updating the map’s own region information in the process. The map also takes the camera’s the pitch and altitude into account when calculating the visible region, ensuring that the region always encompasses the visible content on the map.
- 4 properties
- property altitude as Double
- property centerCoordinate as CLLocationCoordinate2DMBS
- property heading as Double
- property pitch as Double
- 5 methods
- method Constructor
- method Constructor(centerCoordinate as CLLocationCoordinate2DMBS, distance as double, pitch as double, heading as double)
- method Constructor(centerCoordinate as CLLocationCoordinate2DMBS, eyeCoordinate as CLLocationCoordinate2DMBS, eyeAltitude as double)
- method Constructor(Handle as Integer)
- method copy as MKMapCameraMBS
- 3 shared methods
- shared method camera as MKMapCameraMBS
- shared method cameraLookingAtCenterCoordinate(centerCoordinate as CLLocationCoordinate2DMBS, distance as double, pitch as double, heading as double) as MKMapCameraMBS
- shared method cameraLookingAtCenterCoordinate(centerCoordinate as CLLocationCoordinate2DMBS, eyeCoordinate as CLLocationCoordinate2DMBS, eyeAltitude as double) as MKMapCameraMBS
This class has no sub classes.
Some methods using this class:
- MKMapViewMBS.setCamera(camera as MKMapCameraMBS, Animated as boolean = true)
Some properties using for this class:
- MKMapSnapshotOptionsMBS.camera as MKMapCameraMBS
- MKMapViewMBS.camera as MKMapCameraMBS
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKLocalSearchResponseMBS - MKMapItemMBS