Description Usage Arguments Value Examples
Function to return a list of the desired drawing options - you can set all the usual
parameters of a call to addPolygons
.
1 2 3 4 |
stroke |
Whether to draw the polygon borders. |
weight |
Stroke width in pixels. |
color |
Stroke colour. |
opacity |
Stroke opacity. |
fill |
Whether to fill the polygons in with colour. |
fillColor |
The fill colour. |
fillOpacity |
The fill opacity. |
dashArray |
A string to define the stroke dash pattern. |
smoothFactor |
How much to simplify polylines on each zoom level. |
noClip |
Whether to disable polyline clipping. |
A list of options governing how the polygons appear on the map
1 2 | # show the list
polygonDrawOptions()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.