Skip to content

Commit

Permalink
Upgrade guide note on GoogleMapsOverlays rightclick (#7753)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer authored and Pessimistress committed Mar 16, 2023
1 parent 2a2ef9d commit 5dadb03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- `TextLayer`'s `maxWidth` is now relative to the text size. This change aims to make this prop more intuitive to use. If you have been using this prop in previous versions, divide its value by `64` (or `fontSettings.fontSize` if it's set manually).
- `BitmapLayer` now handles translucent pixels correctly. In previous versions alpha was applied twice, leading to overly dim colors.
- `GoogleMapsOverlays` now also triggers `onClick` for rightclick events. To filter out these events check for `event.srcEvent.domEvent.button === 2` in `onClick`.


## Upgrading from deck.gl v8.7 to v8.8
Expand Down

0 comments on commit 5dadb03

Please sign in to comment.