fromLatLon

fun fromLatLon(latitude: Angle, longitude: Angle): GKCoord

Create a set of Gauss-Kruger coordinates from a pair of latitude and longitude.

Return

the corresponding GKCoord.

Parameters

latitude

the latitude.

longitude

the longitude.

Throws

if the conversion to GK coordinates fails.


fun fromLatLon(latitude: Angle, longitude: Angle, zone: Int): GKCoord

Create a set of Gauss-Kruger coordinates from a pair of latitude and longitude.

Return

the corresponding GKCoord.

Parameters

latitude

the latitude.

longitude

the longitude.

zone

optional zone to force coordinates conversion in it.

Throws

if the conversion to GK coordinates fails.