CartoDB / airship

A design library for building Location Intelligence applications.
https://carto.com/developers/airship/
BSD 3-Clause "New" or "Revised" License
75 stars 14 forks source link

Improve bridge performance #628

Open rjimenezda opened 5 years ago

rjimenezda commented 5 years ago

For version 1.0 of CARTOframes we are considering adding Airship widgets (not just legends), and using the bridge would considerably simplify the process.

However, there's a performance issue. Internally, the bridge duplicates the Viz you pass to it, making it invisible. This is used as the source of data for widgets. It prevents constant data updates to all bridged widgets when using animation filters, which was the original purpose of the bridge.

We should check whether an animation time series has been provided or not to clone the Viz or not. This should provide a massive performance boost to maps without a time series.

At some point in the development process this was attempted but there were some issues with CARTO VL, we should check again and see what the status is.