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