Method SetViewpointCenterAsync
SetViewpointCenterAsync(MapPoint)
Centers the map view at the provided center point.
Declaration
public Task<bool> SetViewpointCenterAsync(MapPoint center)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | center | The location at which to center the map view. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |
SetViewpointCenterAsync(Double, Double)
Centers the view on the provided point.
Declaration
public Task<bool> SetViewpointCenterAsync(double latitude, double longitude)
Parameters
Type | Name | Description |
---|---|---|
System.Double | latitude | Latitude in a WGS84 geographic coordinate system |
System.Double | longitude | Longitude in a WGS84 geographic coordinate system |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |
SetViewpointCenterAsync(MapPoint, Double)
Centers the map view at the provided center point and zooms to the given scale.
Declaration
public Task<bool> SetViewpointCenterAsync(MapPoint center, double scale)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | center | The location at which to center the map view. |
System.Double | scale | The scale at which the map is displayed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |
SetViewpointCenterAsync(Double, Double, Double)
Centers the view on the provided point and zooms to the provided scale.
Declaration
public Task<bool> SetViewpointCenterAsync(double latitude, double longitude, double scale)
Parameters
Type | Name | Description |
---|---|---|
System.Double | latitude | Latitude in a WGS84 geographic coordinate system |
System.Double | longitude | Longitude in a WGS84 geographic coordinate system |
System.Double | scale | The reference scale to zoom to |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |