[]
Adds a line to the lines layer.
public void DrawLine(string layerKey, double longitude1, double latitude1, double longitude2, double latitude2, Color stroke, DashStyle dashStyle, double thickness)
| Type | Name | Description |
|---|---|---|
| string | layerKey | Unique string identifying the layer. |
| double | longitude1 | The specified longitude of first point. |
| double | latitude1 | The specified latitude of first point. |
| double | longitude2 | The specified longitude of second point. |
| double | latitude2 | The specified latitude of second point. |
| Color | stroke | The color of the line. |
| DashStyle | dashStyle | |
| double | thickness | The thickness of a line. |
Adds a line to the lines layer.
public void DrawLine(string layerKey, double longitude1, double latitude1, double longitude2, double latitude2, Color stroke, Color fill, DashStyle dashStyle, double thickness)
| Type | Name | Description |
|---|---|---|
| string | layerKey | Unique string identifying the layer. |
| double | longitude1 | The specified longitude of first point. |
| double | latitude1 | The specified latitude of first point. |
| double | longitude2 | The specified longitude of second point. |
| double | latitude2 | The specified latitude of second point. |
| Color | stroke | The color of the line. |
| Color | fill | The background color of the polyline. |
| DashStyle | dashStyle | |
| double | thickness | The thickness of a line. |