BaseGpsReceiverWpfExtensionsDrawPositionOnWgs84MapToWpfCanvas(Canvas, Image, Double, Double, Double, Double, Double, Color) Method |
Draw position on WGS84 map to WPF canvas.
Namespace: ZylSoft.GpsAssembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.32.9621.18621
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static void DrawPositionOnWgs84MapToWpfCanvas(
Canvas canvas,
Image mapImage,
double x,
double y,
double width,
double height,
double positionSize,
Color positionColor
)
Public Shared Sub DrawPositionOnWgs84MapToWpfCanvas (
canvas As Canvas,
mapImage As Image,
x As Double,
y As Double,
width As Double,
height As Double,
positionSize As Double,
positionColor As Color
)
Dim canvas As Canvas
Dim mapImage As Image
Dim x As Double
Dim y As Double
Dim width As Double
Dim height As Double
Dim positionSize As Double
Dim positionColor As Color
BaseGpsReceiverWpfExtensions.DrawPositionOnWgs84MapToWpfCanvas(canvas,
mapImage, x, y, width, height, positionSize,
positionColor)
public:
static void DrawPositionOnWgs84MapToWpfCanvas(
Canvas^ canvas,
Image^ mapImage,
double x,
double y,
double width,
double height,
double positionSize,
Color positionColor
)
static member DrawPositionOnWgs84MapToWpfCanvas :
canvas : Canvas *
mapImage : Image *
x : float *
y : float *
width : float *
height : float *
positionSize : float *
positionColor : Color -> unit public static void DrawPositionOnWgs84MapToWpfCanvas(
Canvas canvas,
Image mapImage,
double x,
double y,
double width,
double height,
double positionSize,
Color positionColor
)
public static function DrawPositionOnWgs84MapToWpfCanvas(
canvas : Canvas,
mapImage : Image,
x : double,
y : double,
width : double,
height : double,
positionSize : double,
positionColor : Color
)
ZylSoft.Gps.BaseGpsReceiverWpfExtensions.DrawPositionOnWgs84MapToWpfCanvas = function(canvas, mapImage, x, y, width, height, positionSize, positionColor);
STATIC METHOD DrawPositionOnWgs84MapToWpfCanvas(
canvas AS Canvas,
mapImage AS Image,
x AS REAL8,
y AS REAL8,
width AS REAL8,
height AS REAL8,
positionSize AS REAL8,
positionColor AS Color
) AS VOID
No code example is currently available or this language may not be supported.
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