Map Camera Manager Delegate
Definition of a camera delegate. Any invocation will interact with the map's actual camera.
Functions
Convenience method that returns the camera options object for given arguments
Convenience method that adjusts the provided camera options object for given arguments
Convenience method that returns the camera options object for given arguments
Convenience method that returns the camera options object for given arguments
Returns the CoordinateBounds for a given camera.
Returns the CoordinateBounds for a given camera.
Returns the coordinate bounds and zoom for a given camera.
Returns the unwrapped coordinate bounds and zoom for a given camera.
Calculates a geographical coordinate(i.e., longitude-latitude pair) that corresponds to a screen coordinate.
Calculates geographical coordinates(i.e., longitude-latitude pair) that corresponds to screen coordinates.
Prepares the drag gesture to use the provided screen coordinate as a pivot point. This function should be called each time when user starts a dragging action (e.g. by clicking on the map). The following dragging will be relative to the pivot.
Calculates target point where camera should move after drag. The method should be called after dragStart
and before dragEnd
.
Gets the map's current free camera options. After mutation, it should be set back to the map.
Calculates a screen coordinate that corresponds to a geographical coordinate (i.e., longitude-latitude pair).
Calculates screen coordinates that corresponds to geographical coordinates (i.e., longitude-latitude pair).
Changes the map view by any combination of center, zoom, bearing, and pitch, without an animated transition. The map will retain its current values for any details not passed via the camera options argument. It is not guaranteed that the provided CameraOptions will be set, the map may apply constraints resulting in a different CameraState.
Sets the map view with the free camera options.