{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/4617","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/4617/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/4617/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/4617/events","html_url":"https://github.com/CartoDB/cartodb/pull/4617","id":96535276,"number":4617,"title":"Removes the stroke setting the opacity to 0. Adds specs","user":{"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-22T10:50:36Z","updated_at":"2015-07-23T13:37:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb/pulls/4617","html_url":"https://github.com/CartoDB/cartodb/pull/4617","diff_url":"https://github.com/CartoDB/cartodb/pull/4617.diff","patch_url":"https://github.com/CartoDB/cartodb/pull/4617.patch"},"body":"This PR removes the stroke of the points and polygons that don't pass a certain condition:\r\n\r\n```ROW_COUNT / (CARD_WIDTH * CARD_HEIGHT) > STROKE_PX_LIMIT```\r\n\r\nwhere \r\n\r\n* `CARD_WIDTH` = 288\r\n* `CARD_HEIGHT` = 170\r\n* `CARD_WIDTH` * `CARD_HEIGHT` = 48,960\r\n* `STROKE_PX_LIMIT` = 0.04\r\n\r\nTherefore if a dataset contains more than ≈ **2,000** rows, the strokes will be hidden.\r\n\r\nThe method used to disable the strokes consists in setting the opacity of the strokes to zero in the default CSS.\r\n\r\n![screen shot 2015-07-23 at 11 33 27](https://cloud.githubusercontent.com/assets/4933/8847410/b3a92712-312e-11e5-958f-c51b7cc28f13.png)"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/124102739","html_url":"https://github.com/CartoDB/cartodb/pull/4617#issuecomment-124102739","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/4617","id":124102739,"user":{"login":"Cartofante","id":5066482,"avatar_url":"https://avatars.githubusercontent.com/u/5066482?v=3","gravatar_id":"","url":"https://api.github.com/users/Cartofante","html_url":"https://github.com/Cartofante","followers_url":"https://api.github.com/users/Cartofante/followers","following_url":"https://api.github.com/users/Cartofante/following{/other_user}","gists_url":"https://api.github.com/users/Cartofante/gists{/gist_id}","starred_url":"https://api.github.com/users/Cartofante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cartofante/subscriptions","organizations_url":"https://api.github.com/users/Cartofante/orgs","repos_url":"https://api.github.com/users/Cartofante/repos","events_url":"https://api.github.com/users/Cartofante/events{/privacy}","received_events_url":"https://api.github.com/users/Cartofante/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T13:37:42Z","updated_at":"2015-07-23T13:37:42Z","body":"Frontend tests were OK :+1: ([details](http://clinker.cartodb.net/jenkins/job/CartoDB-PR-testing/5310/))"}}