Method SetViewpointCenterAsync
SetViewpointCenterAsync(MapPoint)
Centers the view on the provided point.
Declaration
public Task<bool> SetViewpointCenterAsync(MapPoint center)
Parameters
Type | Name | Description |
---|---|---|
Map |
center | Point to center the view on. |
Returns
Type | Description |
---|---|
Task<System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.0 - 100.15 |
SetViewpointCenterAsync(Double, Double)
Centers the view on the provided point.
Declaration
public Task<bool> SetViewpointCenterAsync(double latitude, double longitude)
Parameters
Type | Name | Description |
---|---|---|
System. |
latitude | Latitude in a WGS84 geographic coordinate system |
System. |
longitude | Longitude in a WGS84 geographic coordinate system |
Returns
Type | Description |
---|---|
Task<System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.0 - 100.15 |
SetViewpointCenterAsync(MapPoint, Double)
Centers the view on the provided point and zooms to the provided scale.
Declaration
public Task<bool> SetViewpointCenterAsync(MapPoint center, double scale)
Parameters
Type | Name | Description |
---|---|---|
Map |
center | Point to center the view on. |
System. |
scale | The reference scale to zoom to |
Returns
Type | Description |
---|---|
Task<System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.0 - 100.15 |
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. |
latitude | Latitude in a WGS84 geographic coordinate system |
System. |
longitude | Longitude in a WGS84 geographic coordinate system |
System. |
scale | The reference scale to zoom to |
Returns
Type | Description |
---|---|
Task<System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.0 - 100.15 |