Click or drag to resize

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

Draw position on WGS84 map.

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,
	Image mapImage,
	double x,
	double y,
	int width,
	int height,
	int positionSize,
	Color positionColor
)

Parameters

g  Graphics
GDI+ drawing surface.
mapImage  Image
Map image.
x  Double
x coordinate on the map. Use GetWGS84MapCoordinates or GetEpsg3857MapCoordinates methods to obtain it, depending on the map CRS.
y  Double
y coordinate on the map. Use GetWGS84MapCoordinates or GetEpsg3857MapCoordinates methods to obtain it, depending on the map CRS.
width  Int32
Map's width.
height  Int32
Map's height.
positionSize  Int32
Position indicator size in pixels.
positionColor  Color
Position indicator color.
See Also