-
- All Implemented Interfaces:
public class Camera.Position.Builder
-
-
Method Summary
Modifier and Type Method Description Camera.Position
build()
Camera.Position.Builder
setBearing(float bearing)
* Set the bearing parameter of the camera from 0 - 360. Camera.Position.Builder
setTilt(float tilt)
* Set the tilt parameter of the camera from 0-60 degrees. Camera.Position.Builder
setZoomLevel(float zoomLevel)
Change the Zoom level of the camera Camera.Position.Builder
setLocation(Location location)
* Set the center position of the camera -
-
Method Detail
-
build
Camera.Position build()
-
setBearing
Camera.Position.Builder setBearing(float bearing)
* Set the bearing parameter of the camera from 0 - 360. 0 degrees is due North, 180 degrees is due South Increasing values move counter-clockwise
-
setTilt
Camera.Position.Builder setTilt(float tilt)
* Set the tilt parameter of the camera from 0-60 degrees. 0 degrees is a top-down view (aka 2D)
-
setZoomLevel
Camera.Position.Builder setZoomLevel(float zoomLevel)
Change the Zoom level of the camera
- Parameters:
zoomLevel
- the zoom level should between 0 to 17, 0 is lowest level and 17 is the highest level with whole world visible.
-
setLocation
Camera.Position.Builder setLocation(Location location)
* Set the center position of the camera
-
-
-
-