BaseGpsReceiverDrawPositionOnWgs84Map(Graphics, Image, Double, Double, Int32, Int32, Int32, Color) Method |
Draw position on WGS84 map.
Namespace: ZylSoft.GpsAssembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.32.9621.18621
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static void DrawPositionOnWgs84Map(
Graphics g,
Image mapImage,
double x,
double y,
int width,
int height,
int positionSize,
Color positionColor
)
Public Shared Sub DrawPositionOnWgs84Map (
g As Graphics,
mapImage As Image,
x As Double,
y As Double,
width As Integer,
height As Integer,
positionSize As Integer,
positionColor As Color
)
Dim g As Graphics
Dim mapImage As Image
Dim x As Double
Dim y As Double
Dim width As Integer
Dim height As Integer
Dim positionSize As Integer
Dim positionColor As Color
BaseGpsReceiver.DrawPositionOnWgs84Map(g, mapImage,
x, y, width, height, positionSize,
positionColor)
public:
static void DrawPositionOnWgs84Map(
Graphics^ g,
Image^ mapImage,
double x,
double y,
int width,
int height,
int positionSize,
Color positionColor
)
static member DrawPositionOnWgs84Map :
g : Graphics *
mapImage : Image *
x : float *
y : float *
width : int *
height : int *
positionSize : int *
positionColor : Color -> unit public static void DrawPositionOnWgs84Map(
Graphics g,
Image mapImage,
double x,
double y,
int width,
int height,
int positionSize,
Color positionColor
)
public static function DrawPositionOnWgs84Map(
g : Graphics,
mapImage : Image,
x : double,
y : double,
width : int,
height : int,
positionSize : int,
positionColor : Color
)
ZylSoft.Gps.BaseGpsReceiver.DrawPositionOnWgs84Map = function(g, mapImage, x, y, width, height, positionSize, positionColor);
STATIC METHOD DrawPositionOnWgs84Map(
g AS Graphics,
mapImage AS Image,
x AS REAL8,
y AS REAL8,
width AS LONG,
height AS LONG,
positionSize AS LONG,
positionColor AS Color
) AS VOID
No code example is currently available or this language may not be supported.
Parameters
- g Graphics
-
GDI+ drawing surface.
- 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 Int32
-
Map's width.
- height Int32
-
Map's height.
- positionSize Int32
-
Position indicator size in pixels.
- positionColor Color
-
Position indicator color.
See Also