Inherited by ReverseGeoCoord.
Public Member Functions | |
Coordinates () | |
Initializes a new instance of the Coordinates class. More... | |
Coordinates (string latitude, string longitude) | |
Initializes a new instance of the Coordinates class with the latitude and longitude supplied. More... | |
double[] | ToGeoJson () |
Convert these Coordinates into a GeoJSON lon/lat pair. More... | |
bool | Equals (Coordinates coords) |
bool | SameAs (Coordinates coordsB, double tolerance=1) |
Compare 2 coords are the same. More... | |
Properties | |
string | Lat[get, set] |
Gets or sets the latitude in decimal degrees or decimal degrees * 1E6 as a string. More... | |
string | Lon[get, set] |
Gets or sets the longitude in decimal degrees or decimal degrees * 1E6 as a string. More... | |
string | FormattedCoordinates[get] |
Gets the formatted Coordinates. More... | |
Represents geographic coordinates, i.e. latitude and longitude.
Initializes a new instance of the Coordinates class.
Coordinates | ( | string | latitude, |
string | longitude | ||
) |
Initializes a new instance of the Coordinates class with the latitude and longitude supplied.
latitude | The latitude in decimal degrees or decimal degrees * 1E6 as a string. |
longitude | The longitude in decimal degrees or decimal degrees * 1E6 as a string. |
double [] ToGeoJson | ( | ) |
Convert these Coordinates into a GeoJSON lon/lat pair.
bool SameAs | ( | Coordinates | coordsB, |
double | tolerance = 1 | ||
) |
Compare 2 coords are the same.
coordsB | Coords B |
tolerance | Tolerance distance in feet. |
| getset |
Gets or sets the latitude in decimal degrees or decimal degrees * 1E6 as a string.
| getset |
Gets or sets the longitude in decimal degrees or decimal degrees * 1E6 as a string.
| get |
Gets the formatted Coordinates.
The formatted Coordinates.