Click or drag to resize

BaseGpsReceiverWpfExtensionsDrawPositionOnWgs84MapToWpfCanvas(Canvas, Double, Double, Double, Double, Double, Color, String) Method

Draw one position on WGS84 map using a map skin as embedded resource to WPF canvas .

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 DrawPositionOnWgs84MapToWpfCanvas(
	Canvas canvas,
	double x,
	double y,
	double width,
	double height,
	double positionSize,
	Color positionColor,
	string skin
)

Parameters

canvas  Canvas
WPF canvas.
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  Double
Map's width.
height  Double
Map's height.
positionSize  Double
Position indicator size in pixels.
positionColor  Color
Position indicator color.
skin  String
Map image as embedded resource.
See Also