Serial port and GPS

MapPoint Constructor (Double, Double)

Initializes the point with the given coordinates

[Visual Basic]
Overloads Public Sub New( _
   ByVal anX As Double, _
   ByVal aY As Double _
)
[C#]
public MapPoint(
   double anX,
   double aY
);

Parameters

anX
the horizontal X coordinate. It is usually the longitude in decimal degrees, positive for East and negative for West.
aY
the vertical Y coordinate. It is usually the latitude in decimal degrees, positive for North, negative for South.

Remarks

The corrdinates may be theoretically any double numbers, no validation is performed here. Usually the coordinates should follow the same standards as in the class MapBounds, for example they should be valid geographical coordinates in decimal degrees, positive for North and East, negative for South and West.

See Also

MapPoint Class | serial Namespace | MapPoint Constructor Overload List