BaseGpsReceiverDrawPositionOnWgs84Map2(Graphics, Double, Double, Int32, Int32, Int32, Color) Method |
Draw one position on WGS84 map using an OSM standard EPSG3857 map.
Keep aspect ratio = 1:1; SizeMode = PictureBoxSizeMode.Zoom;
Namespace: ZylSoft.GpsAssembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.32.9621.18621
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static void DrawPositionOnWgs84Map2(
Graphics g,
double x,
double y,
int width,
int height,
int positionSize,
Color positionColor
)
Public Shared Sub DrawPositionOnWgs84Map2 (
g As Graphics,
x As Double,
y As Double,
width As Integer,
height As Integer,
positionSize As Integer,
positionColor As Color
)
Dim g As Graphics
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.DrawPositionOnWgs84Map2(g,
x, y, width, height, positionSize,
positionColor)
public:
static void DrawPositionOnWgs84Map2(
Graphics^ g,
double x,
double y,
int width,
int height,
int positionSize,
Color positionColor
)
static member DrawPositionOnWgs84Map2 :
g : Graphics *
x : float *
y : float *
width : int *
height : int *
positionSize : int *
positionColor : Color -> unit public static void DrawPositionOnWgs84Map2(
Graphics g,
double x,
double y,
int width,
int height,
int positionSize,
Color positionColor
)
public static function DrawPositionOnWgs84Map2(
g : Graphics,
x : double,
y : double,
width : int,
height : int,
positionSize : int,
positionColor : Color
)
ZylSoft.Gps.BaseGpsReceiver.DrawPositionOnWgs84Map2 = function(g, x, y, width, height, positionSize, positionColor);
STATIC METHOD DrawPositionOnWgs84Map2(
g AS Graphics,
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.
- x Double
-
x coordinate on the map. Use GetEpsg3857MapCoordinates method to obtain it.
- y Double
-
y coordinate on the map. Use GetEpsg3857MapCoordinates 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.
See Also