{"action":"opened","number":828,"pull_request":{"url":"https://api.github.com/repos/CartoDB/carto-vl/pulls/828","id":207255049,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MjU1MDQ5","html_url":"https://github.com/CartoDB/carto-vl/pull/828","diff_url":"https://github.com/CartoDB/carto-vl/pull/828.diff","patch_url":"https://github.com/CartoDB/carto-vl/pull/828.patch","issue_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/828","number":828,"state":"open","locked":false,"title":"Add strokeCap property","user":{"login":"Jesus89","id":2227572,"node_id":"MDQ6VXNlcjIyMjc1NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/2227572?v=4","gravatar_id":"","url":"https://api.github.com/users/Jesus89","html_url":"https://github.com/Jesus89","followers_url":"https://api.github.com/users/Jesus89/followers","following_url":"https://api.github.com/users/Jesus89/following{/other_user}","gists_url":"https://api.github.com/users/Jesus89/gists{/gist_id}","starred_url":"https://api.github.com/users/Jesus89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jesus89/subscriptions","organizations_url":"https://api.github.com/users/Jesus89/orgs","repos_url":"https://api.github.com/users/Jesus89/repos","events_url":"https://api.github.com/users/Jesus89/events{/privacy}","received_events_url":"https://api.github.com/users/Jesus89/received_events","type":"User","site_admin":false},"body":"Related to https://github.com/CartoDB/carto-vl/issues/795\r\n\r\nThis PR adds the new property `strokeCap`, that defines the shape of the endpoints in lines. Supported types are `BUTT` and `SQUARE`, located in the namespace `carto.expression.caps`.\r\n\r\n```js\r\nconst s = carto.expressions;\r\nconst style = new carto.Viz({\r\n    width: 20,\r\n    strokeCap: s.caps.BUTT\r\n});\r\n```\r\n\r\n| BUTT | SQUARE |\r\n|---|---|\r\n| ![reference](https://user-images.githubusercontent.com/2227572/43890663-988a3848-9bc7-11e8-9c39-66ff4299cd54.png) | ![reference](https://user-images.githubusercontent.com/2227572/43890672-9ff8ba64-9bc7-11e8-85ca-b559402d5611.png) |\r\n\r\nThis property is an Enum (number), the same as resolution. When the property changes, it requires to **re-decode the Dataframe geometry**. To implement this behaviour, the Layer object contains a `geomOptions` object which is passed to `requestData` of the source. The new dataframes are instantiated with this options. The cached dataframes are updated with this options if they have changed.\r\n\r\nUnit and Render tests are added to cover the implemented feature.","created_at":"2018-08-09T09:32:47Z","updated_at":"2018-08-09T09:32:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CartoDB/carto-vl/pulls/828/commits","review_comments_url":"https://api.github.com/repos/CartoDB/carto-vl/pulls/828/comments","review_comment_url":"https://api.github.com/repos/CartoDB/carto-vl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/828/comments","statuses_url":"https://api.github.com/repos/CartoDB/carto-vl/statuses/e71bbbcd28bda49c58ba584c43e47459341a5714","head":{"label":"CartoDB:stroke-cap","ref":"stroke-cap","sha":"e71bbbcd28bda49c58ba584c43e47459341a5714","user":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":106824313,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY4MjQzMTM=","name":"carto-vl","full_name":"CartoDB/carto-vl","owner":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/carto-vl","description":"CARTO VL: a Javascript library to create vector-based visualizations","fork":false,"url":"https://api.github.com/repos/CartoDB/carto-vl","forks_url":"https://api.github.com/repos/CartoDB/carto-vl/forks","keys_url":"https://api.github.com/repos/CartoDB/carto-vl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/carto-vl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/carto-vl/teams","hooks_url":"https://api.github.com/repos/CartoDB/carto-vl/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/carto-vl/events","assignees_url":"https://api.github.com/repos/CartoDB/carto-vl/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/carto-vl/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/carto-vl/tags","blobs_url":"https://api.github.com/repos/CartoDB/carto-vl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/carto-vl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/carto-vl/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/carto-vl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/carto-vl/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/carto-vl/languages","stargazers_url":"https://api.github.com/repos/CartoDB/carto-vl/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/carto-vl/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/carto-vl/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/carto-vl/subscription","commits_url":"https://api.github.com/repos/CartoDB/carto-vl/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/carto-vl/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/carto-vl/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/carto-vl/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/carto-vl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/carto-vl/merges","archive_url":"https://api.github.com/repos/CartoDB/carto-vl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/carto-vl/downloads","issues_url":"https://api.github.com/repos/CartoDB/carto-vl/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/carto-vl/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/carto-vl/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/carto-vl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/carto-vl/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/carto-vl/releases{/id}","deployments_url":"https://api.github.com/repos/CartoDB/carto-vl/deployments","created_at":"2017-10-13T12:56:39Z","updated_at":"2018-08-09T08:00:59Z","pushed_at":"2018-08-09T09:32:35Z","git_url":"git://github.com/CartoDB/carto-vl.git","ssh_url":"git@github.com:CartoDB/carto-vl.git","clone_url":"https://github.com/CartoDB/carto-vl.git","svn_url":"https://github.com/CartoDB/carto-vl","homepage":"","size":50041,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":97,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":9,"open_issues":97,"watchers":45,"default_branch":"master"}},"base":{"label":"CartoDB:stroke-join","ref":"stroke-join","sha":"09606221fe2d05884a2c0b889ac2a24f9f5ca879","user":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":106824313,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY4MjQzMTM=","name":"carto-vl","full_name":"CartoDB/carto-vl","owner":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/carto-vl","description":"CARTO VL: a Javascript library to create vector-based visualizations","fork":false,"url":"https://api.github.com/repos/CartoDB/carto-vl","forks_url":"https://api.github.com/repos/CartoDB/carto-vl/forks","keys_url":"https://api.github.com/repos/CartoDB/carto-vl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/carto-vl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/carto-vl/teams","hooks_url":"https://api.github.com/repos/CartoDB/carto-vl/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/carto-vl/events","assignees_url":"https://api.github.com/repos/CartoDB/carto-vl/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/carto-vl/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/carto-vl/tags","blobs_url":"https://api.github.com/repos/CartoDB/carto-vl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/carto-vl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/carto-vl/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/carto-vl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/carto-vl/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/carto-vl/languages","stargazers_url":"https://api.github.com/repos/CartoDB/carto-vl/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/carto-vl/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/carto-vl/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/carto-vl/subscription","commits_url":"https://api.github.com/repos/CartoDB/carto-vl/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/carto-vl/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/carto-vl/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/carto-vl/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/carto-vl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/carto-vl/merges","archive_url":"https://api.github.com/repos/CartoDB/carto-vl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/carto-vl/downloads","issues_url":"https://api.github.com/repos/CartoDB/carto-vl/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/carto-vl/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/carto-vl/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/carto-vl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/carto-vl/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/carto-vl/releases{/id}","deployments_url":"https://api.github.com/repos/CartoDB/carto-vl/deployments","created_at":"2017-10-13T12:56:39Z","updated_at":"2018-08-09T08:00:59Z","pushed_at":"2018-08-09T09:32:35Z","git_url":"git://github.com/CartoDB/carto-vl.git","ssh_url":"git@github.com:CartoDB/carto-vl.git","clone_url":"https://github.com/CartoDB/carto-vl.git","svn_url":"https://github.com/CartoDB/carto-vl","homepage":"","size":50041,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":97,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":9,"open_issues":97,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CartoDB/carto-vl/pulls/828"},"html":{"href":"https://github.com/CartoDB/carto-vl/pull/828"},"issue":{"href":"https://api.github.com/repos/CartoDB/carto-vl/issues/828"},"comments":{"href":"https://api.github.com/repos/CartoDB/carto-vl/issues/828/comments"},"review_comments":{"href":"https://api.github.com/repos/CartoDB/carto-vl/pulls/828/comments"},"review_comment":{"href":"https://api.github.com/repos/CartoDB/carto-vl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CartoDB/carto-vl/pulls/828/commits"},"statuses":{"href":"https://api.github.com/repos/CartoDB/carto-vl/statuses/e71bbbcd28bda49c58ba584c43e47459341a5714"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":140,"deletions":21,"changed_files":11}}
{"actor":{"display_login":"Jesus89"}}