You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`paths`**| <code>any[]\| MVCArray<any></code> | The ordered sequence of coordinates that designates a closed loop. Unlike polylines, a polygon may consist of one or more paths. As a result, the paths property may specify one or more arrays of <code><ahref="#latlng">LatLng</a></code> coordinates. Paths are closed automatically; do not repeat the first vertex of the path as the last vertex. Simple polygons may be defined using a single array of <code><ahref="#latlng">LatLng</a></code>s. More complex polygons may specify an array of arrays. Any simple arrays are converted into <code><a href="#MVCArray">MVCArray</a></code>s. Inserting or removing <code><ahref="#latlng">LatLng</a></code>s from the <code>MVCArray</code> will automatically update the polygon on the map. |
1086
+
|**`strokeColor`**| <code>string</code> | The stroke color. All CSS3 colors are supported except for extended named colors. |
1087
+
|**`strokeOpacity`**| <code>number</code> | The stroke opacity between 0.0 and 1.0 |
1088
+
|**`strokeWeight`**| <code>number</code> | The stroke width in pixels. |
1089
+
|**`fillColor`**| <code>string</code> | The fill color. All CSS3 colors are supported except for extended named colors. |
1090
+
|**`fillOpacity`**| <code>number</code> | The fill opacity between 0.0 and 1.0 |
1091
+
|**`geodesic`**| <code>boolean</code> | When <code>true</code>, edges of the polygon are interpreted as geodesic and will follow the curvature of the Earth. When <code>false</code>, edges of the polygon are rendered as straight lines in screen space. Note that the shape of a geodesic polygon may appear to change when dragged, as the dimensions are maintained relative to the surface of the earth. |
|**`title`**| <code>string</code> | Title, a short description of the overlay. Some overlays, such as markers, will display the title on the map. The title is also the default accessibility text. Only available on iOS. |
1094
+
|**`tag`**| <code>string</code> ||
1097
1095
1098
1096
1099
1097
#### Circle
@@ -1269,32 +1267,9 @@ The callback function to be called when map events are emitted.
1269
1267
<code>(data: T): void</code>
1270
1268
1271
1269
1272
-
#### Position
1273
-
1274
-
A <ahref="#position">Position</a> is an array of coordinates.
1275
-
https://tools.ietf.org/html/rfc7946#section-3.1.1
1276
-
Array should contain between two and three elements.
1277
-
The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
1278
-
but the current specification only allows X, Y, and (optionally) Z to be defined.
1279
-
1280
-
Note: the type will not be narrowed down to `[number, number] | [number, number, number]` due to
1281
-
marginal benefits and the large impact of breaking change.
0 commit comments