Click or drag to resize

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

Draw one position on WGS84 map using a map skin as embedded resource. 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,
	string skin
)

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.
skin  String
Skin as embedded resource.
See Also