google.maps.StreetViewPanoramaOptions
interface
Options defining the properties of a StreetViewPanorama
object.
Properties | |
---|---|
addressControl |
Type:
boolean The enabled/disabled state of the address control. |
addressControlOptions |
The display options for the address control. |
clickToGo |
Type:
boolean The enabled/disabled state of click-to-go. |
controlSize |
Type:
number Size in pixels of the controls appearing on the panorama. This value must be supplied directly when creating the Panorama, updating this value later may bring the controls into an undefined state. Only governs the controls made by the Maps API itself. Does not scale developer created custom controls. |
disableDefaultUI |
Type:
boolean Enables/disables all default UI. May be overridden individually. |
disableDoubleClickZoom |
Type:
boolean Enables/disables zoom on double click. Disabled by default. |
enableCloseButton |
Type:
boolean If true , the close button is displayed. Disabled by default. |
fullscreenControl |
Type:
boolean The enabled/disabled state of the fullscreen control. |
fullscreenControlOptions |
Type:
FullscreenControlOptions The display options for the fullscreen control. |
imageDateControl |
Type:
boolean The enabled/disabled state of the imagery acquisition date control. Disabled by default. |
linksControl |
Type:
boolean The enabled/disabled state of the links control. |
motionTracking |
Type:
boolean Whether motion tracking is on or off. Enabled by default when the motion tracking control is present, so that the POV (point of view) follows the orientation of the device. This is primarily applicable to mobile devices. If motionTracking is set to false while motionTrackingControl is enabled, the motion tracking control appears but tracking is off. The user can tap the motion tracking control to toggle this option. |
motionTrackingControl |
Type:
boolean The enabled/disabled state of the motion tracking control. Enabled by default when the device has motion data, so that the control appears on the map. This is primarily applicable to mobile devices. |
motionTrackingControlOptions |
The display options for the motion tracking control. |
panControl |
Type:
boolean The enabled/disabled state of the pan control. |
panControlOptions |
Type:
PanControlOptions The display options for the pan control. |
pano |
Type:
string The panorama ID, which should be set when specifying a custom panorama. |
position |
Type:
LatLng|LatLngLiteral The LatLng position of the Street View panorama. |
pov |
Type:
StreetViewPov The camera orientation, specified as heading and pitch, for the panorama. |
scrollwheel |
Type:
boolean If false, disables scrollwheel zooming in Street View. The scrollwheel is enabled by default. |
showRoadLabels |
Type:
boolean The display of street names on the panorama. If this value is not specified, or is set to true , street names are displayed on the panorama. If set to false , street names are not displayed. |
visible |
Type:
boolean If true , the Street View panorama is visible on load. |
zoom |
Type:
number The zoom of the panorama, specified as a number. A zoom of 0 gives a 180 degrees Field of View. |
zoomControl |
Type:
boolean The enabled/disabled state of the zoom control. |
zoomControlOptions |
Type:
ZoomControlOptions The display options for the zoom control. |