Polygons
To add a polygon, use the polygon
parameter in this format:
polygon=polygonStyle|polygonCoord1|polygonCoord2|...
-
polygonCoord: List of coordinates in
lat, lon
format, separated by|
. The first and last coordinates should be the same to close the polygon. -
polygonStyle: Customize the polygon with:
Parameter Default Description color
#4874db
Defines the stroke color of the polygon. weight
5
Sets the stroke width of the polygon. fill
Specifies the fill color of the polygon. strokeDasharray
(none) Pattern of dashes and gaps, e.g., 5,5
see stroke-dasharray.