StreetViewPanorama class
google.maps.StreetViewPanorama
class
Displays the panorama for a given LatLng
or panorama ID. A StreetViewPanorama
object provides a Street View "viewer" which can be stand-alone within a separate <div>
or bound to a Map
.
This class extends
MVCObject
.
Access by calling const {StreetViewPanorama} = await google.maps.importLibrary("streetView")
.
See Libraries in the Maps JavaScript API.
Constructor | |
---|---|
StreetViewPanorama |
StreetViewPanorama(container[, opts]) Parameters:
Creates a panorama with the passed StreetViewPanoramaOptions . |
Properties | |
---|---|
controls |
Type: Array< |