setPosition

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

Sets the position of the panorama.

Parameters

position

the LatLng of the panorama

radius

the area in which to search for a panorama in meters

source

the source of the panoramas


fun setPosition(panoId: String)

Sets the StreetViewPanorama to the given panorama ID.

Parameters

panoId

the ID of the panorama to set to