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. |
1005
+
|**`strokeColor`**| <code>string</code> | The stroke color. All CSS3 colors are supported except for extended named colors. |
1006
+
|**`strokeOpacity`**| <code>number</code> | The stroke opacity between 0.0 and 1.0 |
1007
+
|**`strokeWeight`**| <code>number</code> | The stroke width in pixels. |
1008
+
|**`fillColor`**| <code>string</code> | The fill color. All CSS3 colors are supported except for extended named colors. |
1009
+
|**`fillOpacity`**| <code>number</code> | The fill opacity between 0.0 and 1.0 |
1010
+
|**`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. |
1013
+
|**`tag`**| <code>string</code> ||
1008
1014
1009
1015
1010
1016
#### Circle
1011
1017
1012
1018
For web, all the javascript <ahref="#circle">Circle</a> options are available as
1013
-
Polygon extends google.maps.CircleOptions.
1019
+
Circle extends google.maps.CircleOptions.
1014
1020
For iOS and Android only the config options declared on <ahref="#circle">Circle</a> are available.
1015
1021
1016
1022
| Prop | Type | Description |
@@ -1180,29 +1186,6 @@ The callback function to be called when map events are emitted.
1180
1186
<code>(data: T): void</code>
1181
1187
1182
1188
1183
-
#### Position
1184
-
1185
-
A <ahref="#position">Position</a> is an array of coordinates.
1186
-
https://tools.ietf.org/html/rfc7946#section-3.1.1
1187
-
Array should contain between two and three elements.
1188
-
The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
1189
-
but the current specification only allows X, Y, and (optionally) Z to be defined.
1190
-
1191
-
Note: the type will not be narrowed down to `[number, number] | [number, number, number]` due to
1192
-
marginal benefits and the large impact of breaking change.
|**`allowOverScroll`**| <code>boolean</code> | Turns on the Web View bounce property. |
256
-
|**`enableViewportScale`**| <code>boolean</code> | Prevents viewport scaling through a meta tag. |
257
-
|**`allowInLineMediaPlayback`**| <code>boolean</code> | Allows in-line HTML5 media playback, displaying within the browser window rather than a device-specific playback interface. Note: The HTML's video element must also include the webkit-playsinline attribute. |
258
-
|**`surpressIncrementalRendering`**| <code>boolean</code> | Waits until all new view content is received before being rendered. |
259
-
|**`viewStyle`**| <code><ahref="#iosviewstyle">iOSViewStyle</a></code> | Sets the presentation style of the Web View. |
260
-
|**`animationEffect`**| <code><ahref="#iosanimation">iOSAnimation</a></code> | Sets the transition style of the Web View. |
|**`allowOverScroll`**| <code>boolean</code> | Turns on the Web View bounce property. |
256
+
|**`enableViewportScale`**| <code>boolean</code> | Prevents viewport scaling through a meta tag. |
257
+
|**`allowInLineMediaPlayback`**| <code>boolean</code> | Allows in-line HTML5 media playback, displaying within the browser window rather than a device-specific playback interface. Note: The HTML's video element must also include the webkit-playsinline attribute. |
258
+
|**`surpressIncrementalRendering`**| <code>boolean</code> | Waits until all new view content is received before being rendered. |
259
+
|**`viewStyle`**| <code><ahref="#iosviewstyle">iOSViewStyle</a></code> | Sets the presentation style of the Web View. |
260
+
|**`animationEffect`**| <code><ahref="#iosanimation">iOSAnimation</a></code> | Sets the transition style of the Web View. |
261
+
|**`allowsBackForwardNavigationGestures`**| <code>boolean</code> | Enables back and forward swipe gestures in the Web View. |
0 commit comments