I am trying to change base url of L.TorqueLayer method call. I want to add my db which is hosted on AWS instead of the default one with the {user}.cartodb.com/api...

Also I cannot find options which the L.TorqueLayer() method is able to receive..

I have a variable for creating anew torqueLayer:

var torqueLayer = new L.TorqueLayer({
            user       : 'username',
            table      : 'table',
            cartocss: CARTOCSS,

Also the parameter for placing my API Key would be helpful.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.