GeoTransformLatLonToString Method (Double, Double, Boolean) |
Converts latitude/longitude coordinates to a textual representation.
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static string LatLonToString(
double lat,
double lon,
bool padZeroes
)
Public Shared Function LatLonToString (
lat As Double,
lon As Double,
padZeroes As Boolean
) As String
public:
static String^ LatLonToString(
double lat,
double lon,
bool padZeroes
)
static member LatLonToString :
lat : float *
lon : float *
padZeroes : bool -> string
Parameters
- lat
- Type: SystemDouble
Latitude of the coordinate. - lon
- Type: SystemDouble
Longitude of the coordinate. - padZeroes
- Type: SystemBoolean
If true the latitude and longitude degrees are padded with zeroes.
Return Value
Type:
String Textual representation of the input coordinates in a grad/min/sec format.
See Also