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