Class StreetViewPanorama
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.
Inheritance
Inherited Members
Namespace:GoogleMaps.Streets
Assembly:GoogleMaps.dll
Syntax
public class StreetViewPanorama : IScriptDescriptorData
Constructors
StreetViewPanorama()
Initializes a new instance of the StreetViewPanorama class.
Declaration
public StreetViewPanorama()
Properties
AddressControlOptions
The display options for the address control.
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public StreetViewAddressControlOptions AddressControlOptions { get; set; }
Property Value
Type | Description |
---|---|
StreetViewAddressControlOptions | The address control options. |
EnableAddressControl
The enabled/disabled state of the address control.
Declaration
public bool EnableAddressControl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableCloseButton
If true, the close button is displayed. Disabled by default.
Declaration
public bool EnableCloseButton { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableLinksControl
The enabled/disabled state of the links control.
Declaration
public bool EnableLinksControl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableNavigationControl
The enabled/disabled state of the navigation control.
Declaration
public bool EnableNavigationControl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
NavigationControlOptions
The display options for the navigation control.
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public NavigationControlOptions NavigationControlOptions { get; set; }
Property Value
Type | Description |
---|---|
NavigationControlOptions | The navigation control options. |
Pano
The panorama ID, which should be set when specifying a custom panorama.
Declaration
public string Pano { get; set; }
Property Value
Type | Description |
---|---|
System.String | The pano. |
Position
The LatLng position of the Street View panorama.
Declaration
public LatLng Position { get; set; }
Property Value
Type | Description |
---|---|
LatLng | The position. |
Pov
The camera orientation, specified as heading, pitch, and zoom, for the panorama.
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public StreetViewPov Pov { get; set; }
Property Value
Type | Description |
---|---|
StreetViewPov | The pov. |
Visible
If true, the Street View panorama is visible on load.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
FromScriptData(Object)
Retrieves an instance of GoogleStreetViewPanorama from script data.
Declaration
public static GoogleStreetViewPanorama FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
GoogleStreetViewPanorama |
ToScriptData()
Returns the instance as a script data.
Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |