Search code examples
javascriptgoogle-fusion-tables

How do I make it so that a user can change the colors of a layer in Google Fusion Tables?


My website uses Fusion Tables. The problem, they use red and green, which are not colorblind-friendly.

I'd like to add an option where users can change the color-scheme they see to something else (like Blue-Orange, for example).

Is this possible using the Google Fusion Tables Javascript API?


Solution

  • Do you own the FusionTables with the data in them? You can now have multiple styles available created with the UI.

    See my answer to this question for more details.

    Another option is dynamically styling them in javascript, don't know if that will work for your FusionTables or not.