GeoCoordinates
Geographic coordinates for mapping and location services.
Location
Properties
| Property | Type | Description | Example |
|---|---|---|---|
Latitude |
decimal |
Latitude (North-South position) | 59.9139 |
Longitude |
decimal |
Longitude (East-West position) | 10.7522 |
Usage Example
var coordinates = new GeoCoordinates
{
Latitude = 59.9139m, // Oslo latitude
Longitude = 10.7522m // Oslo longitude
};
Notes
- Latitude ranges from -90 (South Pole) to +90 (North Pole)
- Longitude ranges from -180 to +180
- Uses
decimaltype for high precision
Used By
- Estate
- Project
Download
- Download GeoCoordinates.cs - Complete C# source code