Page Summary
-
GoogleMap.CameraPerspectiveis used to define the camera's orientation when usingGoogleMap.followMyLocation(). -
It offers three perspective options:
TILTED,TOP_DOWN_HEADING_UP, andTOP_DOWN_NORTH_UP. -
TILTEDprovides a tilted view aligned with the user's direction, commonly used in navigation. -
TOP_DOWN_HEADING_UPoffers a top-down view oriented with the camera's heading. -
TOP_DOWN_NORTH_UPpresents a top-down view with north at the top.
A CameraPerspective is a parameter given to the GoogleMap.followMyLocation(int) to specify the
orientation of the camera.
Constant Summary
| int | TILTED | A tilted perspective facing in the same direction as the user. |
| int | TOP_DOWN_HEADING_UP | A heading-facing top-down perspective of the camera's target. |
| int | TOP_DOWN_NORTH_UP | A north-facing top-down perspective of the camera's target. |
Inherited Method Summary
Constants
public static final int TILTED
A tilted perspective facing in the same direction as the user. Commonly used during driving navigation.
public static final int TOP_DOWN_HEADING_UP
A heading-facing top-down perspective of the camera's target.
public static final int TOP_DOWN_NORTH_UP
A north-facing top-down perspective of the camera's target.