Fit MapView to these boundaries.
If specified, zoomLevel
and distance
parameters are ignored and lookAt
calculates best
zoomLevel
to fit given bounds.
if bounds
is {@link @here/harp-geoutils#GeoBox}, then lookAt
use LookAtParams.target or bounds.target
and
ensure whole box is visible
if bounds
is {@link @here/harp-geoutils#GeoPolygon}, then lookAt
use bounds.getCentroid()
and ensure whole polygon is visible
if bounds
is {@link @here/harp-geoutils#GeoBoxExtentLike},
then lookAt
will use LookAtParams.target or
current MapView.target and ensure whole extents are visible
if bounds
is GeoCoordLike[], then lookAt
will use LookAtParams.target or
calculated target
as center of world box covering given points and ensure all points are
visible
Note in sphere projection some points are not visible if you specify bounds that span more than 180 degrees in any direction.
Camera distance to the target point in world units.
Heading angle in degrees and clockwise. 0 is north-up.
Target/look at point of the MapView.
Tilt angle in degrees. 0 is top down view.
Zoomlevel of the MapView.
Generated using TypeDoc
Parameters for {@link (MapView.lookAt:WITH_PARAMS)}.