viewToGeoCoordinates abstract method

GeoCoordinates? viewToGeoCoordinates(
  1. Point2D viewCoordinates
)

Converts view coordinates (in pixels) to geographical coordinates.

An optional altitude component of the resulting geographical coordinate is not set.

If the view coordinates specify a point above a horizon, then the result is geographical coordinates of the point on a horizon below the specified view coordinates.

The fog effect is ignored for the calculation, meaning that for the view point within the area covered by the fog, the result is geographical coordinates that would be displayed at the specified point if the fog effect was not applied.

If the render surface is not attached, it will return null.

  • viewCoordinates Point inside the view to convert.

Returns GeoCoordinates?. The geographical coordinates under specified view point or null if there is no render surface attached.

Implementation

GeoCoordinates? viewToGeoCoordinates(Point2D viewCoordinates);