CoordToString

@NonNull
open fun CoordToString(value: Double): String

Converts the given coordinate value to its string form with 8 digits precision

Use this method to avoid conversions such as 0.0009087344578802 (double) to "9.087344578802E-4" (string)

Return

See also

<a href="https://wiki.openstreetmap.org/wiki/Precision_of_coordinates">Precision of coordinates</a>

Parameters

value

@NonNull
open fun CoordToString(lat: Double, lng: Double): String

Converts the given coordinate values to a single string with 8 digits precision each

Use this method to avoid conversions such as 0.0009087344578802 (double) to "9.087344578802E-4" (string)

Return

A string like "47.12345678,0.00010383"

Parameters

lat
lng

@NonNull
open fun CoordToString(    lat: Double,     lng: Double,     z: Int): String

Converts the given coordinate values to a single string with 8 digits precision each

Use this method to avoid conversions such as 0.0009087344578802 (double) to "9.087344578802E-4" (string)

Return

A string like "47.12345678,0.00010383,-10"

Parameters

lat
lng
z

A Integer value


@NonNull
open fun CoordToString(    lat: Double,     lng: Double,     z: Double): String

Converts the given coordinate values to a single string with 8 digits precision each

Use this method to avoid conversions such as 0.0009087344578802 (double) to "9.087344578802E-4" (string)

Return

A string like "47.12345678,0.00010383,10.12345678"

Parameters

lat
lng
z

A Double value