How to use SQL API output to create a layer in a map?
I thought it could be achieved with createLayer passing the data directly, i.e. not with URL as second argument, but the data I am getting from SQL API has not the structure of a layer.
Any advice?
1 Answer 1
To create a layer without a URL is possible. It is in the section titled, "create a layer at runtime", here
http://developers.cartodb.com/documentation/cartodb-js.html#runtime
answered Apr 29, 2014 at 20:40