Click or drag to resize

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

Draw one position on WGS84 map using an OSM standard EPSG3857 map. Keep aspect ratio = 1:1; SizeMode = PictureBoxSizeMode.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 DrawPositionOnWgs84Map2(
	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 GetEpsg3857MapCoordinates method to obtain it.
y  Double
y coordinate on the map. Use GetEpsg3857MapCoordinates 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