getNormalizedFromGpsMapCoordinates

Gets map coordinates from X and Y GPS coordinates. This is the same calculation as above but returns normalised x and y values scaled between 0 and 1.0. These are what are required by the mapcompose library to set markers/positions.

Return

a Pair(x, y).

Parameters

lat

Latitude in decimal degrees.

lon

Longitude in decimal degrees.