CameraPosition

data class CameraPosition(val target: LatLng, val zoom: Double)(source)

Represents the camera position for a map.

Defines where the camera is positioned (target location) and how close the camera is to the earth's surface (zoom level).

Throws

if zoom is outside the valid range

Constructors

Link copied to clipboard
constructor(target: LatLng, zoom: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The location that the camera is pointing at

Link copied to clipboard

The zoom level, ranging from 2.0 (world view) to 19.0 (street level)