Skip to content

Commit

Permalink
upgrade guide (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed May 29, 2018
1 parent d559daa commit c55e153
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/upgrade-guide.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Upgrade Guide

## Upgrading from deck.gl v5.3 to v6.0

#### Pixel sizes

Pixel sizes in line, icon and text layers now match their HTML/SVG counterparts. To achieve the same rendering output as v5, you should halve the following props:

* `ArcLayer.getStrokeWidth`
* `LineLayer.getStrokeWidth`
* `IconLayer.getSize` or `IconLayer.sizeScale`
* `TextLayer.getSize` or `TextLayer.sizeScale`
* `PointCloudLayer.radiusPixels`


## Upgrading from deck.gl v5.2 to v5.3

### Viewport classes
Expand Down
4 changes: 4 additions & 0 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ deck.gl layers can now specify additional type information about properties. Whe
> For layer writers: use of prop types is optional, and deck.gl layers will automatically deduce partial prop type information for any properties that lack type information, as long as a default value is specified in the `defaultProps` object.

#### Pixel Sizes

Pixel sizes in line, icon and text layers now match their HTML/SVG counterparts.

## deck.gl v5.3

Release date: TBD, target May 25, 2018
Expand Down

0 comments on commit c55e153

Please sign in to comment.