Release Notes
This release notes are specific to the CARTO module inside deck.gl (@deck.gl/CARTO) and should be read as a complement to the official deck.gl changelog
@deck.gl — v9 — March 27, 2024
Official deck.gl — What's new | Upgrade guide
New CARTO module architecture:
The
CartoLayer
has been replaced by Sources and Layers, that provide more flexibility and readability.The
setDefaultCredentials
function has been removed. Authentication must be passed to the Source, providing more flexibility for a single codebase.The
fetchLayerData
function has been replaced by the newquery
function, which provides a simpler interface to request data to the CARTO SQL API. This data can then be used in other deck.gl layers
Find a complete code example in the upgrade guide from deck.gl v8.9 to v9.
v8.9 - March 9, 2023
Official deck.gl — What's new | Upgrade guide
v8.8 - June 30, 2022
Official deck.gl — What's new | Upgrade guide
The
CartoLayer
now works only with dynamic tiles. Theformat
property has been removed. If you want to keep using GeoJSON instead of tiles, you need to use thefetchLayerData
function.Dynamic tiles support for SQL queries
Support for dynamic and static tilesets with data aggregated using H3 and Quadbin discrete global grids. New
aggregationExp
andaggregationResLevel
props inCartoLayer
v8.7 - February 25, 2022
New
fetchMap
function for loading a Builder mapNew
MaskExtension
to apply a spatial mask to layersSupport for dynamic tiling with
MAP_TYPES.TABLE
data sourcesNew
QuadkeyLayer
supporting visualization of data using the Quadkey spatial indexing schemeChanges in configuration defaults:
apiBaseUrl
now defaults tohttps://gcp-us-east1.api.carto.com
andapiVersion
toAPI_VERSIONS.V3
. If you have code using a CARTO 2 dataset and you have not specified theapiVersion
property, your code needs to be updated in order to work with the new version.New
format
andformatTiles
props inCartoLayer
v8.6 - October 12, 2021
Default to binary mode in
MVTLayer
Include API error at the exception message
New
geoColumn
andcolumns
props inCartoLayer
Fix
MVTLayer
autoHighlight with binary dataCheck for correct layerName when highlighting in
MVTLayer
In addition to these changes to the CARTO for deck.gl module and the MVTLayer
, we have also implemented support for the new Google Maps vector rendering features in the Google Maps module.
v8.5 - July 26, 2021
CARTO 3 integration
New
CartoLayer
supporting all the Maps API versions (CartoSQLLayer
andCartoBQTiler
layers will be deprecated and we recommend migrating existing code)Support triangulation of polygons for
MVTLoader
in loaders.glSupport
pointType
prop to allow changing point rendering inGeoJsonLayer
v8.4 - February 1, 2021
Basemap module for
@deck.gl/carto
Style helpers and CARTO colors
Support for CARTO Maps API v2
Add
onDataLoad
andonDataError
callbacks to CARTO layersTileJSON support to the
MVTLayer
MVTLayer
getRenderedFeatures
MVTLayer
coordinates transformation to WGS84MVTLayer
binary data support
v8.3 - October 12, 2020
Add
@deck.gl/carto
module (CartoSqlLayer
andCartoBQTilerLayer
)MVTLayer
: support globe view
v8.2 - June 28, 2020
Fix
MVTLayer
projection precisionFillStyleExtension
supportsMVTLayer
v8.1 - March 17, 2020
New
MVTLayer
for working with vector tiles
Last updated