lookAtAreaWithGeoOrientationAndViewRectangle abstract method

void lookAtAreaWithGeoOrientationAndViewRectangle(
  1. GeoBox target,
  2. GeoOrientationUpdate orientation,
  3. Rectangle2D viewRectangle
)

Makes the camera look at the specified geodetic area and pass a rectangle which specifies where the area should appear inside of the map view.

The supplied orientation is the orientation of the camera looking at the target, so the resulting camera state will have the same orientation as the one supplied to this method. Please note that the resulting orientation might deviate from the provided orientation. This is particularly the case if a large geobox on world level and a view rectangle which is relatively small was passed to the method.

The altitude of the target points is ignored.

  • target Geodetic area which will be shown in the viewRectangle.

  • orientation Desired orientation of the camera.

  • viewRectangle The view rectangle in viewport pixel coordinates inside which the geographical target area is displayed.

Implementation

void lookAtAreaWithGeoOrientationAndViewRectangle(GeoBox target, GeoOrientationUpdate orientation, Rectangle2D viewRectangle);