StreetsideExperience StreetsideExperience StreetsideExperience StreetsideExperience Class

Definition

Represents a custom map experience that provides a street-level view of a geographic location.

public : sealed class StreetsideExperience : MapCustomExperience, IStreetsideExperiencepublic sealed class StreetsideExperience : MapCustomExperience, IStreetsideExperiencePublic NotInheritable Class StreetsideExperience Inherits MapCustomExperience Implements IStreetsideExperience// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Constructors

StreetsideExperience(StreetsidePanorama) StreetsideExperience(StreetsidePanorama) StreetsideExperience(StreetsidePanorama) StreetsideExperience(StreetsidePanorama)

Creates a StreetsideExperience based on the specified panoramic view.

public : StreetsideExperience(StreetsidePanorama panorama)public StreetsideExperience(StreetsidePanorama panorama)Public Sub New(panorama As StreetsidePanorama)// This API is not available in Javascript.
Parameters

Remarks

This constructor is equivalent to calling StreetsideExperience(StreetsidePanorama, Double, Double, Double) with the following default parameter values: headingInDegrees = 0 (North), pitchInDegrees = 90 (looking at the horizon), and fieldOfViewInDegrees = 75.

See Also

StreetsideExperience(StreetsidePanorama, Double, Double, Double) StreetsideExperience(StreetsidePanorama, Double, Double, Double) StreetsideExperience(StreetsidePanorama, Double, Double, Double) StreetsideExperience(StreetsidePanorama, Double, Double, Double)

Creates a StreetsideExperience based on the specified panoramic view and camera position.

public : StreetsideExperience(StreetsidePanorama panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees)public StreetsideExperience(StreetsidePanorama panorama, Double headingInDegrees, Double pitchInDegrees, Double fieldOfViewInDegrees)Public Sub New(panorama As StreetsidePanorama, headingInDegrees As Double, pitchInDegrees As Double, fieldOfViewInDegrees As Double)// This API is not available in Javascript.
Parameters
headingInDegrees
double Double Double Double

The directional heading of the map's camera in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West. The default headingInDegrees value is 0.

pitchInDegrees
double Double Double Double

The pitch of the map's camera in degrees, where 90 is looking out at the horizon (maximum) and 0 is looking straight down (minimum). The default pitchInDegrees value is 90.

fieldOfViewInDegrees
double Double Double Double

The horizontal angle of view that appears in the map's camera, in degrees. The default fieldOfViewInDegrees value is 75.

Remarks

The valid range of pitch differs between 2D, 3D, and Streetside map views. When switching from 3D to 2D for example, values that are acceptable in the current view may be out of range in the next view. If that’s the case, the current pitch value will be truncated to the nearest acceptable value in the next view.

When leaving a Streetside view, the map returns to the previous view settings. The Streetside pitch is not maintained outside of the Streetside experience.

The maximum and minimum values of pitch/tilt depend on the type of map view: 2D, 3D, or Streetside. The range for field of view is the same in all views.

Property2D range3D rangeStreetside range
pitch/tilt0-750-900-180
field of view22-9022-9022-90

Heading values greater than 360 degrees are normalized to their equivalent 0-360 degree value.

See Also

Properties

AddressTextVisible AddressTextVisible AddressTextVisible AddressTextVisible

Gets or sets a value that indicates if address text is visible in the StreetsideExperience.

public : PlatForm::Boolean AddressTextVisible { get; set; }public bool AddressTextVisible { get; set; }Public ReadWrite Property AddressTextVisible As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if address text is visible in the StreetsideExperience; otherwise, false.

CursorVisible CursorVisible CursorVisible CursorVisible

Gets or sets a value that indicates if the cursor is visible in the StreetsideExperience.

public : PlatForm::Boolean CursorVisible { get; set; }public bool CursorVisible { get; set; }Public ReadWrite Property CursorVisible As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the cursor is visible in the StreetsideExperience; otherwise, false.

ExitButtonVisible ExitButtonVisible ExitButtonVisible ExitButtonVisible

Gets or sets a value that indicates if the exit button is visible in the StreetsideExperience.

public : PlatForm::Boolean ExitButtonVisible { get; set; }public bool ExitButtonVisible { get; set; }Public ReadWrite Property ExitButtonVisible As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the exit button is visible in the StreetsideExperience; otherwise, false.

OverviewMapVisible OverviewMapVisible OverviewMapVisible OverviewMapVisible

Gets or sets a value that indicates if the overview map is visible in the StreetsideExperience.

public : PlatForm::Boolean OverviewMapVisible { get; set; }public bool OverviewMapVisible { get; set; }Public ReadWrite Property OverviewMapVisible As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the overview map is visible in the StreetsideExperience; otherwise, false.

StreetLabelsVisible StreetLabelsVisible StreetLabelsVisible StreetLabelsVisible

Gets or sets a value that indicates if street labels are visible in the StreetsideExperience.

public : PlatForm::Boolean StreetLabelsVisible { get; set; }public bool StreetLabelsVisible { get; set; }Public ReadWrite Property StreetLabelsVisible As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if street labels are visible in the StreetsideExperience; otherwise, false.

ZoomButtonsVisible ZoomButtonsVisible ZoomButtonsVisible ZoomButtonsVisible

Gets or sets a value that indicates if zoom buttons are visible in the StreetsideExperience.

public : PlatForm::Boolean ZoomButtonsVisible { get; set; }public bool ZoomButtonsVisible { get; set; }Public ReadWrite Property ZoomButtonsVisible As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if zoom buttons are visible in the StreetsideExperience; otherwise, false.

See Also