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. |
997
+
|**`strokeColor`**| <code>string</code> | The stroke color. All CSS3 colors are supported except for extended named colors. |
998
+
|**`strokeOpacity`**| <code>number</code> | The stroke opacity between 0.0 and 1.0 |
999
+
|**`strokeWeight`**| <code>number</code> | The stroke width in pixels. |
1000
+
|**`fillColor`**| <code>string</code> | The fill color. All CSS3 colors are supported except for extended named colors. |
1001
+
|**`fillOpacity`**| <code>number</code> | The fill opacity between 0.0 and 1.0 |
1002
+
|**`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. |
1005
+
|**`tag`**| <code>string</code> ||
1000
1006
1001
1007
1002
1008
#### Circle
1003
1009
1004
1010
For web, all the javascript <ahref="#circle">Circle</a> options are available as
1005
-
Polygon extends google.maps.CircleOptions.
1011
+
Circle extends google.maps.CircleOptions.
1006
1012
For iOS and Android only the config options declared on <ahref="#circle">Circle</a> are available.
1007
1013
1008
1014
| Prop | Type | Description |
@@ -1172,29 +1178,6 @@ The callback function to be called when map events are emitted.
1172
1178
<code>(data: T): void</code>
1173
1179
1174
1180
1175
-
#### Position
1176
-
1177
-
A <ahref="#position">Position</a> is an array of coordinates.
1178
-
https://tools.ietf.org/html/rfc7946#section-3.1.1
1179
-
Array should contain between two and three elements.
1180
-
The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
1181
-
but the current specification only allows X, Y, and (optionally) Z to be defined.
1182
-
1183
-
Note: the type will not be narrowed down to `[number, number] | [number, number, number]` due to
1184
-
marginal benefits and the large impact of breaking change.
0 commit comments