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
@@ -19,6 +33,48 @@ Mapbox Vector Tiles parsing throughput is now 2-3x faster, due to MVT tiles bein
19
33
20
34
_Benchmarks ran using scripts on a 2012 MacBook Pro, 2.3 GHz Intel Core i7, 8 GB, measuring parsing time of MVTLoader only (network time and rendering is not included)_
21
35
36
+
37
+
### Default transpilation and bundle size
38
+
39
+
The NPM distribution has dropped IE 11 support in exchange for an almost 20% reduction in size.
| main (dist/es5) | 686 KB (178 KB) | 812 KB (197 KB) | Transpiled, no tree-shaking |
45
+
46
+
*Measured as the footprint of @deck.gl/core, bundled and minified with Webpack 4*
47
+
48
+
To support older or less common browsers, make sure that `node_modules` is included in your application's babel settings.
49
+
50
+
For backward compatibility, the pre-built bundle (`dist.min.js`) is not affected by this change.
51
+
52
+
53
+
### TextLayer
54
+
55
+
New props are added for more flexible styling of the texts:
56
+
57
+
*`background`
58
+
*`backgroundPadding`
59
+
*`outlineWidth`
60
+
*`outlineColor`
61
+
*`getBackgroundColor`
62
+
*`getBorderWidth`
63
+
*`getBorderColor`
64
+
65
+
See [documentation](/docs/api-reference/layers/text-layer.md) for details.
66
+
67
+
### React
68
+
69
+
The `DeckGL` React component is rewritten using functional component and hooks.
70
+
71
+
### Other layer improvements
72
+
73
+
-`PathLayer` now supports controlling `jointRounded` and `capRounded` separately. Dashed lines via `PathStyleExtension` also respects the cap type.
74
+
-`PolygonLayer` and `GeoJsonLayer`: `autoHighlight` now highlights both the outline and the fill of the hovered polygon, instead of either the outline or the fill.
0 commit comments