Skip to content

Commit

Permalink
chore(docs) Add missing props to GoogleMapsOverlay doc (#8561)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgervang committed Mar 1, 2024
1 parent 6ce17f7 commit 242017f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api-reference/google-maps/google-maps-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ const overlay = new GoogleMapsOverlay(props)
- `onAfterRender`
- `onLoad`

The constructor additionally accepts the following option:

- `interleaved` (Boolean) - When set to `false`, a dedicated deck.gl canvas is layered on top of the base map. If set to `true` and the Google Map is configured for Vector rendering, deck.gl layers are inserted into the Google Maps layer stack, sharing the same WebGL2RenderingContext. Default is `true`.

## Methods

##### `setMap` {#setmap}
Expand Down Expand Up @@ -88,3 +92,7 @@ overlay.finalize();
```

Remove the overlay and release all underlying resources.

##### getCanvas

See [Deck.getCanvas](../core/deck.md#getcanvas). When using `interleaved: true`, returns the base map's `canvas`.

0 comments on commit 242017f

Please sign in to comment.