共用方式為


StreetsideExperience 類別

定義

表示自訂地圖體驗,提供地理位置的街道層級檢視。

public ref class StreetsideExperience sealed : MapCustomExperience
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Xaml.Controls.Maps.IStreetsideExperienceFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StreetsideExperience final : MapCustomExperience
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Xaml.Controls.Maps.IStreetsideExperienceFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class StreetsideExperience final : MapCustomExperience
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Xaml.Controls.Maps.IStreetsideExperienceFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StreetsideExperience : MapCustomExperience
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Xaml.Controls.Maps.IStreetsideExperienceFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class StreetsideExperience : MapCustomExperience
Public NotInheritable Class StreetsideExperience
Inherits MapCustomExperience
繼承
Object Platform::Object IInspectable DependencyObject MapCustomExperience StreetsideExperience
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

建構函式

StreetsideExperience(StreetsidePanorama)

根據指定的異動檢視建立 StreetsideExperience

StreetsideExperience(StreetsidePanorama, Double, Double, Double)

根據指定的街道檢視和相機位置建立 StreetsideExperience

屬性

AddressTextVisible

取得或設定值,指出位址文字是否顯示在 StreetsideExperience中。

CursorVisible

取得或設定值,指出資料指標是否顯示在 StreetsideExperience中。

Dispatcher

取得與此物件相關聯的 CoreDispatcherCoreDispatcher代表可以存取 UI 執行緒上DependencyObject的功能,即使程式碼是由非 UI 執行緒起始也一樣。

(繼承來源 DependencyObject)
ExitButtonVisible

取得或設定值,指出是否在 StreetsideExperience中看到結束按鈕。

OverviewMapVisible

取得或設定值,指出是否在 StreetsideExperience中看到概觀地圖。

StreetLabelsVisible

取得或設定值,指出 StreetsideExperience中是否顯示街道標籤。

ZoomButtonsVisible

取得或設定值,指出是否在 StreetsideExperience中顯示縮放按鈕。

方法

ClearValue(DependencyProperty)

清除相依性屬性的本機值。

(繼承來源 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

傳回針對相依性屬性所建立的任何基底值,如果動畫未使用中,則會套用。

(繼承來源 DependencyObject)
GetValue(DependencyProperty)

DependencyObject傳回相依性屬性的目前有效值。

(繼承來源 DependencyObject)
ReadLocalValue(DependencyProperty)

如果已設定本機值,則傳回相依性屬性的本機值。

(繼承來源 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

註冊通知函式,以接聽此DependencyObject實例上特定DependencyProperty的變更。

(繼承來源 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject上設定相依性屬性的本機值。

(繼承來源 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

取消先前透過呼叫 RegisterPropertyChangedCallback註冊的變更通知。

(繼承來源 DependencyObject)

適用於

另請參閱