MapLayer.SetPosition Method (DependencyObject, Location)
Sets the position of the map layer.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static void SetPosition(
DependencyObject dependencyObject,
Location location
)
public:
static void SetPosition(
DependencyObject^ dependencyObject,
Location^ location
)
static member SetPosition :
dependencyObject:DependencyObject *
location:Location -> unit
Public Shared Sub SetPosition (
dependencyObject As DependencyObject,
location As Location
)
Parameters
dependencyObject
Type: System.Windows.DependencyObjectThe dependency field.
location
Type: Microsoft.Maps.MapControl.WPF.LocationThe location at which to position the map layer.
See Also
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top