Parameters
- layerKey
- Unique string identifying the layer.
- longitude1
- The specified longitude of first point.
- latitude1
- The specified latitude of first point.
- longitude2
- The specified longitude of second point.
- latitude2
- The specified latitude of second point.
- stroke
- The color of the line.
- dashStyle
- thickness
- The thickness of a line.