All notable changes to this project will be documented in this file. The format is based on Keep a Changelog
DEPRECATION WARNING This project won't be continued. Due to feedback received from the users and to bring a better integration with deck.gl, we're moving to a native deck.gl module (see https://github.com/CartoDB/deck.gl/blob/carto-module/docs/api-reference/carto/overview.md) gi
- Added setFilter remoteSource call to DataViewRemote setFilters method (#142)
- Add new
carto.viz.Legend
widget for layers, working for these styles: basic, colorBins, colorCategories, colorContinuous, sizeBins, sizeCategories and sizeContinuous (#100, #102, #104, #105, #106, #107, #109 and #113) - New
viewport
mode for style classifiers: quantiles, equal and stdev (#119) - Dynamic legends when using viewport styles (#120)
- New
getId
method incarto.viz.Layer
(#113) - New
BQSource
for public datasets (#122) - New
onLoad
option tocarto.viz.createMap
(#121) - Better performance in Layer, with a debounced approach to DATA_CHANGED event (#130)
- Better performance in
carto.viz.layer.getViewportFeatures
, with a ViewportFeaturesGenerator using with a queue system (#131) - Better performance in
carto.viz.dataview.Histogram
with optimized calculations (#133) - Add new optional
autoWidth
option toPopup
, to adjust to its content (#80) - Add new methods to
carto.viz.Layer
to control its visibility: show / hide / isVisible (#134)
- Rename several public members in
carto.viz.Layer
: methodsreplaceDeckGLLayer
,getDeckGLLayer
,getMapInstance
and propertysource
toreplaceDeckLayer
,getDeckLayer
,getMap
andgetSource
(#124)
- Fix WEBSDK VERSION for .cjs & .esm module distributions (#115)
- Fix error on viewport mode in classifiers, with first render without proper styles (#124)
- Fix
remove
error incarto.viz.Layer
, keeping the reference to the old map (#124) - Fix esm bundle, where typescript interfaces were not correctly ignored by babel (#126)
- Fix interactivity styles for common geojson files, expecting cartodb_id to be always present on
carto.viz.source.GeoJSON
(#125) - Fix some
carto.viz.dataview
errors (with remote mode), due to map instance not ready yet (#136) - Fix multiple calls to remote dataviews API (precise mode) every time the map is dragged (#138)
- Fix
carto.viz.dataview.Formula
not getting an updated source (#139)
- Aggregated data filtering in widgets (#96)
- Add interactivity styles to
carto.viz.style.icon
helper (#110)
- Rename
beforeLayerId | afterLayerId
options incarto.viz.Layer.addTo
to a more clearoverLayerId | underLayerId
. (#103)
- Fix
dataReady
event incarto.viz.Layer
(#99) - Fix GeoJSON use on
carto.viz.dataview
anddataUpdate
event with aSource
instance (#97) - Fix
replaceDeckGLLayer
incarto.viz.Layer
not considering latest layers state (#108) - Fix path for .cjs & .esm module distributions (#112)
- New
carto.viz.style.icon
helper (#53) - Add
beforeLayerId
andafterLayerId
options tocarto.viz.Layer.addTo
method, to customize layer position (#67) - Widget synchronization when using remote dataviews (#76)
- New data events in Layer:
dataReady
anddataChanged
(#84) - Improved aggregated calculations on dataviews
- A better documentation, with a new set of guides & examples
- New
isReady
method incarto.viz.Layer
(#101) - New option to specify the visual property to use in color (
color
|strokeColor
) and size (size
|strokeWidth
) style helpers (#98)
- Remove d3.format option from
carto.viz.Popup
(#68) - New public API and defaults for the
carto.viz.dataview
namespace classes:Formula
,Category
,Histogram
(#72)
- Fix remote widgets synchronization (#63)
- Fix popup interactivity glitch on hover (#69)
- Fix layer with empty data issue (#78)
- First release