Method SetViewpointAsync
| Edit this page View SourceSetViewpointAsync(Viewpoint)
Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
Returns
Type | Description |
---|---|
Task<bool> |
|
See Also
| Edit this page View SourceSetViewpointAsync(Viewpoint, TimeSpan)
Pan or zoom the GeoView using animation to the specified Viewpoint location. Animation takes place over the specified duration.
Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
TimeSpan | duration | The amount of time to move to the new viewpoint. |
Returns
Type | Description |
---|---|
Task<bool> |
|