Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoJSON source issues with viz updates #1395

Open
rjimenezda opened this issue Aug 19, 2019 · 2 comments
Open

GeoJSON source issues with viz updates #1395

rjimenezda opened this issue Aug 19, 2019 · 2 comments
Labels
rt-frontend Response Team - Frontend type: bug

Comments

@rjimenezda
Copy link
Contributor

How to reproduce:

  1. Create a Visualization that uses a GeoJSON source, add a ramp on a property. It should work.
  2. Blend to a new Viz that uses a different property for the color ramp, the ramp will assign the same values to all the elements.

I've noticed that if you specify that second property on the first Viz, the ramp will work fine. I'm guessing VL only keeps the minimum GeoJSON properties it requires, so if you have the property the second update requires, everything works fine.

Here's a codepen that shows the issue, uncomment the variable on the Viz string and everything will work as expected: https://codepen.io/rjimenezda/pen/RwbGbYN

@VictorVelarde
Copy link
Contributor

Please @CartoDB/rt-managers can you add this one?

@ramiroaznar
Copy link
Contributor

I have encountered the same issue with filters here.

@elenatorro elenatorro added the rt-frontend Response Team - Frontend label Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rt-frontend Response Team - Frontend type: bug
Projects
None yet
Development

No branches or pull requests

4 participants