diff --git a/docs/apis/google-maps.md b/docs/apis/google-maps.md index d928edd0e..c8e16ff7c 100644 --- a/docs/apis/google-maps.md +++ b/docs/apis/google-maps.md @@ -987,30 +987,36 @@ A marker is an icon placed at a particular point on the map's surface. #### Point -Point geometry object. -https://tools.ietf.org/html/rfc7946#section-3.1.2 - -| Prop | Type | Description | -| ----------------- | --------------------------------------------- | ------------------------------------- | -| **`type`** | 'Point' | Specifies the type of GeoJSON object. | -| **`coordinates`** | Position | | +| Prop | Type | +| ------- | ------------------- | +| **`x`** | number | +| **`y`** | number | #### Polygon -Polygon geometry object. -https://tools.ietf.org/html/rfc7946#section-3.1.6 +For web, all the javascript Polygon options are available as +Polygon extends google.maps.PolygonOptions. +For iOS and Android only the config options declared on Polygon are available. -| Prop | Type | Description | -| ----------------- | --------------------------------------------- | ------------------------------------- | -| **`type`** | 'Polygon' | Specifies the type of GeoJSON object. | -| **`coordinates`** | Position[][] | | +| Prop | Type | Description | +| ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **`paths`** | any[] \| MVCArray<any> | 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>LatLng</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>LatLng</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>LatLng</code>s from the <code>MVCArray</code> will automatically update the polygon on the map. | +| **`strokeColor`** | string | The stroke color. All CSS3 colors are supported except for extended named colors. | +| **`strokeOpacity`** | number | The stroke opacity between 0.0 and 1.0 | +| **`strokeWeight`** | number | The stroke width in pixels. | +| **`fillColor`** | string | The fill color. All CSS3 colors are supported except for extended named colors. | +| **`fillOpacity`** | number | The fill opacity between 0.0 and 1.0 | +| **`geodesic`** | boolean | 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. | +| **`clickable`** | boolean | Indicates whether this <code>Polygon</code> handles mouse events. | +| **`title`** | string | 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. | +| **`tag`** | string | | #### Circle For web, all the javascript Circle options are available as -Polygon extends google.maps.CircleOptions. +Circle extends google.maps.CircleOptions. For iOS and Android only the config options declared on Circle are available. | Prop | Type | Description | @@ -1180,29 +1186,6 @@ The callback function to be called when map events are emitted. (data: T): void -#### Position - -A Position is an array of coordinates. -https://tools.ietf.org/html/rfc7946#section-3.1.1 -Array should contain between two and three elements. -The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), -but the current specification only allows X, Y, and (optionally) Z to be defined. - -Note: the type will not be narrowed down to `[number, number] | [number, number, number]` due to -marginal benefits and the large impact of breaking change. - -See previous discussions on the type narrowing: -- {@link https://github.com/DefinitelyTyped/DefinitelyTyped/pull/21590|Nov 2017} -- {@link https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/67773|Dec 2023} -- {@link https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/71441| Dec 2024} - -One can use a -{@link https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates|user-defined type guard that returns a type predicate} -to determine if a position is a 2D or 3D position. - -number[] - - #### Marker Supports markers of either either "legacy" or "advanced" types. diff --git a/docs/apis/inappbrowser.md b/docs/apis/inappbrowser.md index d05b2032d..3dd485001 100644 --- a/docs/apis/inappbrowser.md +++ b/docs/apis/inappbrowser.md @@ -250,14 +250,15 @@ Defines the options for opening a URL in the web view. #### iOSWebViewOptions -| Prop | Type | Description | -| ---------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **`allowOverScroll`** | boolean | Turns on the Web View bounce property. | -| **`enableViewportScale`** | boolean | Prevents viewport scaling through a meta tag. | -| **`allowInLineMediaPlayback`** | boolean | 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. | -| **`surpressIncrementalRendering`** | boolean | Waits until all new view content is received before being rendered. | -| **`viewStyle`** | iOSViewStyle | Sets the presentation style of the Web View. | -| **`animationEffect`** | iOSAnimation | Sets the transition style of the Web View. | +| Prop | Type | Description | +| ----------------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **`allowOverScroll`** | boolean | Turns on the Web View bounce property. | +| **`enableViewportScale`** | boolean | Prevents viewport scaling through a meta tag. | +| **`allowInLineMediaPlayback`** | boolean | 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. | +| **`surpressIncrementalRendering`** | boolean | Waits until all new view content is received before being rendered. | +| **`viewStyle`** | iOSViewStyle | Sets the presentation style of the Web View. | +| **`animationEffect`** | iOSAnimation | Sets the transition style of the Web View. | +| **`allowsBackForwardNavigationGestures`** | boolean | Enables back and forward swipe gestures in the Web View. | #### OpenInSystemBrowserParameterModel