CartoDB / d3.cartodb

Client-side rendering of CartoDB visualisations with d3
BSD 3-Clause "New" or "Revised" License
30 stars 6 forks source link

Cannot pan the map #165

Closed saleiva closed 8 years ago

saleiva commented 8 years ago

https://team.cartodb.com/u/saleiva/editor/c99b0680-0c4a-11e4-901c-0e10bcd91c2b/embed?vector=true

rochoa commented 8 years ago

Using a 2560x1440 display:

vector

document.querySelectorAll('*').length
1114547

raster

document.querySelectorAll('*').length
169

Does it makes sense to render 1M points client side? Shouldn't we use overviews for these scenarios?

fdansv commented 8 years ago

Yeah I've discussed this with Sergio already. This isn't really a bug, just beyond d3.cartodb's capabilities.

saleiva commented 8 years ago

Can we at least open a new ticket on detecting this and passing to raster?

fdansv commented 8 years ago

Hmmm, for now wouldn't it be weird to fallback to raster when we're explicitly asking for vector=true?

rochoa commented 8 years ago

I just created an issue at deep-insights, I'm not fully sure if that should live there or at cartodb.js repo but at least we are tracking it.