StreetViewCameraPositionState

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val location: StreetViewPanoramaLocation

The location of the panorama.

Link copied to clipboard
val panoramaCamera: StreetViewPanoramaCamera

The camera of the panorama.

Functions

Link copied to clipboard
fun animateTo(camera: StreetViewPanoramaCamera, durationMs: Int)

Animates the camera to be at camera in durationMs milliseconds.

Link copied to clipboard
fun setPosition(panoId: String)

Sets the StreetViewPanorama to the given panorama ID.

fun setPosition(position: LatLng, radius: Int? = null, source: StreetViewSource? = null)

Sets the position of the panorama.