Click or drag to resize

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

Draw position on WGS84 map 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,
	Image mapImage,
	double x,
	double y,
	double width,
	double height,
	double positionSize,
	Color positionColor
)

Parameters

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