MobileForms Toolkit Documentation

GeoMap.SetPath Method (GeoPolyline, Color, Color, Int32)

Sets the the path that should be highlighted on a map by a list of points defined as a GeoPolyline object.

public void SetPath(
GeoPolyline path,
Color col,
Color fill,
int weight
);

Parameters

path
A GeoPolyline object defining the path as a list of points.
col
A Color value defining the path highlighting color.
fill
Defining a fill color that is used to fill the area enclosed by the path. Use Color.Empty to switch off the path filling.
weight
Specifies the thickness of the path in pixels

Remarks

A path defined by a GeoPolyline can be used only with Google maps service.

See Also

GeoMap Class | Resco.Location.Services.Map Namespace | GeoMap.SetPath Overload List | ServiceProvider