google.maps.StreetViewPanoramaOptions
interface
Options defining the properties of a StreetViewPanorama
object.
Properties | |
---|---|
addressControl |
Type:
boolean optional The enabled/disabled state of the address control. |
addressControlOptions |
Type:
StreetViewAddressControlOptions optional The display options for the address control. |
clickToGo |
Type:
boolean optional The enabled/disabled state of click-to-go. |
controlSize |
Type:
number optional 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 optional Enables/disables all default UI. May be overridden individually. |
disableDoubleClickZoom |
Type:
boolean optional Enables/disables zoom on double click. Disabled by default. |
enableCloseButton |
Type:
boolean optional If true , the close button is displayed. Disabled by default. |
fullscreenControl |
Type:
boolean optional The enabled/disabled state of the fullscreen control. |
fullscreenControlOptions |
Type:
FullscreenControlOptions optional The display options for the fullscreen control. |
imageDateControl |
Type:
boolean optional The enabled/disabled state of the imagery acquisition date control. Disabled by default. |
linksControl |
Type:
boolean optional The enabled/disabled state of the links control. |
motionTracking |
Type:
boolean optional 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 optional 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 |
Type:
MotionTrackingControlOptions optional The display options for the motion tracking control. |
panControl |
Type:
boolean optional The enabled/disabled state of the pan control. |
panControlOptions |
Type:
PanControlOptions optional The display options for the pan control. |
pano |
Type:
string optional The panorama ID, which should be set when specifying a custom panorama. |
position |
Type:
LatLng|LatLngLiteral optional The LatLng position of the Street View panorama. |
pov |
Type:
StreetViewPov optional The camera orientation, specified as heading and pitch, for the panorama. |
scrollwheel |
Type:
boolean optional If false, disables scrollwheel zooming in Street View. The scrollwheel is enabled by default. |
showRoadLabels |
Type:
boolean optional 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 optional If true , the Street View panorama is visible on load. |
zoom |
Type:
number optional The zoom of the panorama, specified as a number. A zoom of 0 gives a 180 degrees Field of View. |
zoomControl |
Type:
boolean optional The enabled/disabled state of the zoom control. |
zoomControlOptions |
Type:
ZoomControlOptions optional The display options for the zoom control. |