Home > @magiclane/maps-sdk > GemView > transformScreenToWgs

GemView.transformScreenToWgs() method

Convert a screen(x, y) coordinate to a WGS(lon, lat) coordinate.

Signature:

transformScreenToWgs(screenCoordinates: Point): Coordinates;

Parameters

Parameter

Type

Description

screenCoordinates

Point

Screen coordinate. The coordinates are relative to the parent view screen

Returns:

Coordinates

WGS 84 coordinates of the given screen coordinate

Exceptions

An exception if it fails.