{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/carto.js/issues/2149","repository_url":"https://api.github.com/repos/CartoDB/carto.js","labels_url":"https://api.github.com/repos/CartoDB/carto.js/issues/2149/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/carto.js/issues/2149/comments","events_url":"https://api.github.com/repos/CartoDB/carto.js/issues/2149/events","html_url":"https://github.com/CartoDB/carto.js/issues/2149","id":334609409,"node_id":"MDU6SXNzdWUzMzQ2MDk0MDk=","number":2149,"title":"Changes from v3.15 to v4","user":{"login":"juanfkt93","id":13903799,"node_id":"MDQ6VXNlcjEzOTAzNzk5","avatar_url":"https://avatars0.githubusercontent.com/u/13903799?v=4","gravatar_id":"","url":"https://api.github.com/users/juanfkt93","html_url":"https://github.com/juanfkt93","followers_url":"https://api.github.com/users/juanfkt93/followers","following_url":"https://api.github.com/users/juanfkt93/following{/other_user}","gists_url":"https://api.github.com/users/juanfkt93/gists{/gist_id}","starred_url":"https://api.github.com/users/juanfkt93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanfkt93/subscriptions","organizations_url":"https://api.github.com/users/juanfkt93/orgs","repos_url":"https://api.github.com/users/juanfkt93/repos","events_url":"https://api.github.com/users/juanfkt93/events{/privacy}","received_events_url":"https://api.github.com/users/juanfkt93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-21T18:35:31Z","updated_at":"2018-06-22T14:41:07Z","closed_at":"2018-06-22T14:41:07Z","author_association":"NONE","body":"Hi, I have a doubt regarding adding a Torque Layer.\r\n\r\nWith CartoDB 3.15, I can add a Torque Layer the following way:\r\n\r\n       var layerSource = {\r\n          type: \"torque\",\r\n          options: {\r\n              ......\r\n          }\r\n        }\r\n\r\n        **cartodb.createLayer**(map, layerSource).done(function(layer) {\r\n          map.addLayer(layer);\r\n        });\r\n\r\nCan I do something of the sort in Cartojs, v4? The new **carto.layer.Layer** doesn't seem to work for me.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/CartoDB/carto.js/issues/comments/399465903","html_url":"https://github.com/CartoDB/carto.js/issues/2149#issuecomment-399465903","issue_url":"https://api.github.com/repos/CartoDB/carto.js/issues/2149","id":399465903,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQ2NTkwMw==","user":{"login":"juanfkt93","id":13903799,"node_id":"MDQ6VXNlcjEzOTAzNzk5","avatar_url":"https://avatars0.githubusercontent.com/u/13903799?v=4","gravatar_id":"","url":"https://api.github.com/users/juanfkt93","html_url":"https://github.com/juanfkt93","followers_url":"https://api.github.com/users/juanfkt93/followers","following_url":"https://api.github.com/users/juanfkt93/following{/other_user}","gists_url":"https://api.github.com/users/juanfkt93/gists{/gist_id}","starred_url":"https://api.github.com/users/juanfkt93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanfkt93/subscriptions","organizations_url":"https://api.github.com/users/juanfkt93/orgs","repos_url":"https://api.github.com/users/juanfkt93/repos","events_url":"https://api.github.com/users/juanfkt93/events{/privacy}","received_events_url":"https://api.github.com/users/juanfkt93/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T14:41:07Z","updated_at":"2018-06-22T14:41:07Z","author_association":"NONE","body":"Oh okay, thanks for the reply!"}}
{"actor":{"display_login":"juanfkt93"}}