0

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?

asked Apr 12, 2014 at 6:30

1 Answer 1

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.