{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/deep-insights.js/issues/339","repository_url":"https://api.github.com/repos/CartoDB/deep-insights.js","labels_url":"https://api.github.com/repos/CartoDB/deep-insights.js/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/deep-insights.js/issues/339/comments","events_url":"https://api.github.com/repos/CartoDB/deep-insights.js/issues/339/events","html_url":"https://github.com/CartoDB/deep-insights.js/issues/339","id":153053099,"number":339,"title":"vector vs raster rendering","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/deep-insights.js/labels/enhancement","name":"enhancement","color":"c7def8"},{"url":"https://api.github.com/repos/CartoDB/deep-insights.js/labels/vector","name":"vector","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-04T16:10:48Z","updated_at":"2016-05-04T16:13:44Z","closed_at":null,"body":"Fallback to raster rendering should happen when the number of vertices we need to render it's too hight for the client making it unresponsive.\r\n\r\nTo start with a basic `if (number_of_vertices > 1e5)` could do the trick.\r\n\r\nref https://github.com/CartoDB/d3.cartodb/issues/165\r\n\r\ncc @saleiva @fdansv "},"comment":{"url":"https://api.github.com/repos/CartoDB/deep-insights.js/issues/comments/216916149","html_url":"https://github.com/CartoDB/deep-insights.js/issues/339#issuecomment-216916149","issue_url":"https://api.github.com/repos/CartoDB/deep-insights.js/issues/339","id":216916149,"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":"2016-05-04T16:13:44Z","updated_at":"2016-05-04T16:13:44Z","body":"I don't know: https://github.com/CartoDB/d3.cartodb/issues/165#issuecomment-216915600\r\n\r\nFeel free to move it if you know more than me 😉 ."}}