MapScene 類別

定義

表示地圖的檢視。

public ref class MapScene sealed : DependencyObject
/// [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 MapScene final : DependencyObject
[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 MapScene : DependencyObject
Public NotInheritable Class MapScene
Inherits DependencyObject
繼承
Object Platform::Object IInspectable DependencyObject MapScene
屬性

Windows 需求

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

屬性

Dispatcher

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

(繼承來源 DependencyObject)
TargetCamera

取得定義相機最終位置的 MapCamera 設定。

方法

ClearValue(DependencyProperty)

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

(繼承來源 DependencyObject)
CreateFromBoundingBox(GeoboundingBox)

建立場景,以根據四邊地理區域出現在地圖中。

CreateFromBoundingBox(GeoboundingBox, Double, Double)

根據四邊地理區域、標題和音調,建立要出現在地圖中的場景。

CreateFromCamera(MapCamera)

根據指定 之 MapCamera的位置,建立要出現在地圖中的場景。

CreateFromLocation(Geopoint)

建立場景,以根據單一地理位置出現在地圖中。

CreateFromLocation(Geopoint, Double, Double)

根據單一地理位置、標題和音調,建立要出現在地圖中的場景。

CreateFromLocationAndRadius(Geopoint, Double)

根據單一地理位置和半徑,建立要出現在地圖中的場景。

CreateFromLocationAndRadius(Geopoint, Double, Double, Double)

根據單一地理位置、半徑、標題和傾斜度,建立要出現在地圖中的場景。

CreateFromLocations(IIterable<Geopoint>)

建立場景,以根據多個地理位置出現在地圖中。

CreateFromLocations(IIterable<Geopoint>, Double, Double)

建立場景,以根據多個地理位置、標題和音調出現在地圖中。

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)

事件

TargetCameraChanged

發生于地圖相機的最終位置變更時。

適用於

另請參閱