I know Cartodb has the layer feature where you can create four different layers within one map, but is there a way to create more? I want my viewers to be able to choose between more than four layers in order to select which points they want to see, so is there a way to create more layers using html? Does someone have a template?
Yes the limit is 4 layers but you can pull in layers from other visualisations using cartoDB.js.
This Bushwick Community Map is a good example https://github.com/clhenrick/BushwickCommunityMap
On top of that you can use SQL to decide what should be shown. When I need to break the 4 layer limit I will usually add a points layer, lines layer and a polygon layer. I then add a column for table (which original table they came from) and then use SQL to select what I need.
For example in a recent project I had a threats layer (polygons) which had further subdivisions of 'logging' 'mining' 'oil' 'farming'. Each category had multiple polygons. So one layer became 4.
As always, the docs provide more info on this and if you would like more help please pm me.
this is not an answer but a follow up for more clarity.
We are currently on a trial version of John Snow and are still limited to 4 layers. As we are trying to decide about which plan best suits, it would be great to have a definitive answer soon.
For reference, we are not power users (will have less than 200Mb storage and less than 30 tables) but several of our vizualisations would benefit from having upwards of 20 layers. It's just the nature of the data and the sort of interaction we're needing to support.
How do things look at this point in time?