CoordinatePart(Int32, Double, CoordinatesPosition) Constructor
Creates a populated CoordinatePart from a Degrees Minutes Seconds part.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public CoordinatePart(
int deg,
double minSec,
CoordinatesPosition pos
)
Parameters
- deg Int32
- Degrees
- minSec Double
- Decimal Minutes
- pos CoordinatesPosition
- Coordinate part position
The following example creates a populated latitudinal coordinate part from Decimal Degree Minute values and assigns it to a Coordinate object.
Coordinate c = new Coordinate();
CoordinatePart cp = new CoordinatePart(25, 36.24854, CoordinatesPosition.N);
c.Latitude = cp;