{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/397","labels_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/397/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/397/events","html_url":"https://github.com/CartoDB/cartodb.js/issues/397","id":60646461,"number":397,"title":"Torque layer with named map must request the named map","user":{"login":"rochoa","id":45346,"avatar_url":"https://avatars.githubusercontent.com/u/45346?v=3","gravatar_id":"","url":"https://api.github.com/users/rochoa","html_url":"https://github.com/rochoa","followers_url":"https://api.github.com/users/rochoa/followers","following_url":"https://api.github.com/users/rochoa/following{/other_user}","gists_url":"https://api.github.com/users/rochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochoa/subscriptions","organizations_url":"https://api.github.com/users/rochoa/orgs","repos_url":"https://api.github.com/users/rochoa/repos","events_url":"https://api.github.com/users/rochoa/events{/privacy}","received_events_url":"https://api.github.com/users/rochoa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/CartoDB/cartodb.js/labels/Static%20Maps","name":"Static Maps","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"javierarce","id":4933,"avatar_url":"https://avatars.githubusercontent.com/u/4933?v=3","gravatar_id":"","url":"https://api.github.com/users/javierarce","html_url":"https://github.com/javierarce","followers_url":"https://api.github.com/users/javierarce/followers","following_url":"https://api.github.com/users/javierarce/following{/other_user}","gists_url":"https://api.github.com/users/javierarce/gists{/gist_id}","starred_url":"https://api.github.com/users/javierarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierarce/subscriptions","organizations_url":"https://api.github.com/users/javierarce/orgs","repos_url":"https://api.github.com/users/javierarce/repos","events_url":"https://api.github.com/users/javierarce/events{/privacy}","received_events_url":"https://api.github.com/users/javierarce/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-03-11T11:45:47Z","updated_at":"2015-03-12T11:23:12Z","closed_at":"2015-03-12T11:18:02Z","body":"## STR\r\n1. Create a points private table\r\n1. Create a visualisation from it\r\n1. Use a torque wizard\r\n\r\n## Current result\r\nThe viz.json does not return a `namedmap` layer but only a torque layer with an associated named map.\r\ncartodb.js tries to instantiate a layergroup through the anonymous endpoint with the torque layer.\r\n\r\n## Expected result\r\nAs the torque layer has an associated namedmap cartodb.js should instantiate the layergroup with its associated named map instead of using the anonymous way.\r\n\r\nRef: https://github.com/CartoDB/cartodb.js/blob/develop/src/vis/image.js#L162\r\n\r\nSee https://github.com/CartoDB/cartodb/issues/2705"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/comments/78462639","html_url":"https://github.com/CartoDB/cartodb.js/issues/397#issuecomment-78462639","issue_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/397","id":78462639,"user":{"login":"rochoa","id":45346,"avatar_url":"https://avatars.githubusercontent.com/u/45346?v=3","gravatar_id":"","url":"https://api.github.com/users/rochoa","html_url":"https://github.com/rochoa","followers_url":"https://api.github.com/users/rochoa/followers","following_url":"https://api.github.com/users/rochoa/following{/other_user}","gists_url":"https://api.github.com/users/rochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochoa/subscriptions","organizations_url":"https://api.github.com/users/rochoa/orgs","repos_url":"https://api.github.com/users/rochoa/repos","events_url":"https://api.github.com/users/rochoa/events{/privacy}","received_events_url":"https://api.github.com/users/rochoa/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T11:23:12Z","updated_at":"2015-03-12T11:23:12Z","body":":heart_eyes: "}}