Map Camera Manager Delegate
Definition of a camera delegate. Any invocation will interact with the map's actual camera.
Functions
Convert the given bounds, boundsPadding, bearing and pitch values to CameraOptions. Note that this method takes into account the current map padding in addition to the boundsPadding provided in parameters.
Convenience method that adjusts the provided CameraOptions object for given parameters.
Convenience method that returns the CameraOptions object for given parameters. This method takes into account the current map padding in addition to the padding provided in parameters.
Convenience method that returns the CameraOptions object for given parameters.
Calculates a target point where the camera should move after dragging from a screen coordinate startCoordinate
to another coordinate endCoordinate
.
Convert the given geometry, geometryPadding, bearing and pitch values to CameraOptions. Note that this method takes into account the current map padding in addition to the geometryPadding provided in parameters.
Returns the CoordinateBounds for a given camera.
Returns the CoordinateBounds for a given camera.
Returns the CoordinateBounds for given RectF defined in screen points.
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 the geographical coordinate information that corresponds to a given screen coordinate.
Calculates geographical coordinates(i.e., longitude-latitude pair) that corresponds to screen coordinates.
Calculates the geographical coordinates information that corresponds to the given screen coordinates.
Returns the bounds of the map.
Returns the map's MapCenterAltitudeMode.
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.
Sets the map MapCenterAltitudeMode that defines behavior of the center point altitude for all subsequent camera manipulations.