Click or drag to resize

BaseGpsReceiverDrawPositionOnWgs84Map(Graphics, Double, Double, Int32, Int32, Int32, Color) Method

Draw one position on WGS84 map using a Natural Earth EPSG4326 map. Keep aspect ratio = 1314:852; You can use SizeMode = Zoom

Namespace: ZylSoft.Gps
Assembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.32.9621.18621
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static void DrawPositionOnWgs84Map(
	Graphics g,
	double x,
	double y,
	int width,
	int height,
	int positionSize,
	Color positionColor
)

Parameters

g  Graphics
GDI+ drawing surface.
x  Double
x coordinate on the map. Use GetEpsg4326MapCoordinates method to obtain it.
y  Double
y coordinate on the map. Use GetEpsg4326MapCoordinates method to obtain it.
width  Int32
Map's width.
height  Int32
Map's height.
positionSize  Int32
Position indicator size in pixels.
positionColor  Color
Position indicator color.
See Also