Method SetViewpointAsync
SetViewpointAsync(Viewpoint)
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.0 - 200.6 |
.NET Windows | 200.0 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
SetViewpointAsync(Viewpoint, TimeSpan)
Pan or zoom the GeoView using animation to the specified Viewpoint location. Animation takes place over the specified duration.
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
System.TimeSpan | duration | The amount of time to move to the new viewpoint. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.0 - 200.6 |
.NET Windows | 200.0 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.0 - 200.6 |