Skip to content

Commit

Permalink
Update whats new 8.7 (visgl#6679)
Browse files Browse the repository at this point in the history
Co-authored-by: Xiaoji Chen <cxiaoji@gmail.com>
Co-authored-by: Borja Muñoz <bmunoz@carto.com>
Co-authored-by: Alberto Asuero <albertoasuero@gmail.com>
  • Loading branch information
4 people authored Feb 25, 2022
1 parent e2fb235 commit 277713b
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 6 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ Ref: http://keepachangelog.com/en/0.3.0/
- CARTO: Rename CartoDynamicTileLayer -> CartoTileLayer (#6658)
- GeoJsonLayer[binary]: do not pass instancePickingColors attribute to TextLayer (#6650)
- Support tilt & bearing for Google raster maps (#6653)
- Bump ajv from 6.10.2 to 6.12.6 (#6642)
- Bump follow-redirects from 1.14.7 to 1.14.8 (#6641)
- Bump simple-get from 3.1.0 to 3.1.1 (#6614)

#### deck.gl [8.7.0-beta.5] - Feb 10 2022

- CARTO: fetchMap supports tiles in different formats (#6637)
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/carto/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Deck.gl is the preferred and official solution for creating modern geospatial web applications using [CARTO Location Intelligence platform](https://carto.com/).

With deck.gl and the all-new **CARTO 3 platform** you can directly access spatial datasets and tilesets that are hosted in your current cloud data warehouse. CARTO 3 provides seamless integrations with Google BigQuery, Amazon Redshift, Snowflake and PostgreSQL-compatible databases, eliminating the need to move your data into CARTO.
With deck.gl and the all-new **CARTO 3 platform** you can directly access spatial datasets and tilesets that are hosted in your current cloud data warehouse. CARTO 3 provides seamless integrations with Google BigQuery, Amazon Redshift, Snowflake, Databricks and PostgreSQL-compatible databases, eliminating the need to move your data into CARTO.

<img src="https://raw.githubusercontent.com/CartoDB/viz-doc/master/deck.gl/img/osm_buildings.jpg" />

Expand Down
10 changes: 8 additions & 2 deletions docs/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#### Deprecations

- `CartoBQTilerLayer` is removed. Use `CartoLayer` instead with `type` set to `MAP_TYPES.TILESET`.
- `CartoSQLLayer` is removed. Use `CartoLayer` instead with `type` set to `MAP_TYPES.QUERY`.
##### Core

- `H3HexagonLayer` now uses flat shading when it renders a `ColumnLayer`. This change improves the visual consistency when using `highPrecision: 'auto'`. To revert to the old behavior, set the following prop:

```js
Expand All @@ -15,6 +15,12 @@
```
- `H3ClusterLayer` sublayer is now called `'cell'` not `'cluster-region'`

##### CARTO

- `CartoBQTilerLayer` is removed. Use `CartoLayer` instead with `type` set to `MAP_TYPES.TILESET`.
- `CartoSQLLayer` is removed. Use `CartoLayer` instead with `type` set to `MAP_TYPES.QUERY`.
- `API_VERSIONS.V3` is the default for the CARTO module API calls. Use `setDefaultCredentials` to explicitly specify `V2`.

## Upgrading from deck.gl v8.5 to v8.6

### Changes to layer prop defaults
Expand Down
41 changes: 41 additions & 0 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,47 @@

This page contains highlights of each deck.gl release. Also check our [vis.gl blog](https://medium.com/vis-gl) for news about new releases and features in deck.gl.

## deck.gl v8.7

Release date: February 25, 2022

### MaskExtension

The new [MaskExtension](/docs/api-reference/extensions/mask-extension) allows layers to show/hide objects by a geofence. For example, a map may filter a list of user locations by the boundaries of a given country, or highlight part of a base map that is inside a user-drawn circle or lasso area.

![Masking Manhattan buildings](https://raw.githubusercontent.com/visgl/deck.gl-data/master/images/whats-new/mask-extension.gif)

### QuadkeyLayer

The new [QuadkeyLayer](/docs/api-reference/geo-layers/quadkey-layer) renders filled and/or stroked polygons, with geometry automatically calculated based on a quadkey (geospatial index).

### CARTO

#### fetchMap

[fetchMap](/docs/api-reference/carto/fetch-map) is added to the [CARTO deck.gl submodule](/docs/api-reference/carto/overview), greatly streamlining the display of maps created using CARTO platform.

#### Support for large tables

CartoLayer at 8.7 allows the visualization of large tables (`type: MAP_TYPES.TABLE`) from BigQuery, Snowflake, Redshift and PostgreSQL without requiring a tileset to be pregenerated. Large datasets are visualized via vector tiles. In previous versions, it was limited to 30MB/200K rows of data.


#### Support for Databricks

In 8.7, CartoLayer brings support for [Databricks](https://databricks.com/. It's a seamless integration with the Data Lakehouse Platform, unlocking powerful visualization and geospatial analysis capabilities.


### Enhancements

- Less flashing when using `TileLayer` with `refinementStrategy: 'no-overlap'`.
- `TileLayer`'s `refinementStrategy` now accepts a custom callback funcion.
- `TerrainLayer` can now be used with non-geospatial views.
- `ColumnLayer` adds `flatShading` prop.
- Lighting in 3D layers is more consistent in `GlobeView`.
- `GoogleMapsOverlay` supports camera tilt and bearing for raster maps.
- `MVTLayer` supports `pointType: 'text'` in `binary` mode.
- Picking with `project3D: true` now returns more accurate result in non-geospatial views.

## deck.gl v8.6

Release date: October 11, 2021
Expand Down

0 comments on commit 277713b

Please sign in to comment.