flywave-mapview.lookatparams
Home > @flywave/flywave-mapview > LookAtParams
LookAtParams interface
Parameters for .
Signature:
export interface LookAtParams
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
GeoBox | GeoBoxExtentLike | GeoCoordLike[] | GeoPolygon | Fit MapView to these boundaries. If specified, * if * if * if * if Note in sphere projection some points are not visible if you specify bounds that span more than 180 degrees in any direction. | ||
number | Camera distance to the target point in world units. zoomLevel defaults will be used if not set. | ||
number | Heading angle in degrees and clockwise. 0 is north-up. 0 in context. MapView.heading in context. | ||
GeoCoordLike | Target/look at point of the MapView. If the given point is not on the ground (altitude != 0) MapView will do a raycasting internally to find a target on the ground. As a consequence MapView.target and MapView.zoomLevel will not match the values that were passed into the method. | ||
number | Tilt angle in degrees. 0 is top down view. 0 in context. MapView.tilt in context. Maximum supported tilt is 89° | ||
number | Zoomlevel of the MapView. Takes precedence over distance. 5 in context. MapView.zoomLevel in context. |