{"action":"created","issue":{"url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/issues/342","repository_url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps","labels_url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/issues/342/comments","events_url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/issues/342/events","html_url":"https://github.com/NYCPlanning/labs-applicantmaps/pull/342","id":393233103,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMzE4ODY1","number":342,"title":"[WIP] add custom draw style object array","user":{"login":"hannahkates","id":13967925,"node_id":"MDQ6VXNlcjEzOTY3OTI1","avatar_url":"https://avatars3.githubusercontent.com/u/13967925?v=4","gravatar_id":"","url":"https://api.github.com/users/hannahkates","html_url":"https://github.com/hannahkates","followers_url":"https://api.github.com/users/hannahkates/followers","following_url":"https://api.github.com/users/hannahkates/following{/other_user}","gists_url":"https://api.github.com/users/hannahkates/gists{/gist_id}","starred_url":"https://api.github.com/users/hannahkates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannahkates/subscriptions","organizations_url":"https://api.github.com/users/hannahkates/orgs","repos_url":"https://api.github.com/users/hannahkates/repos","events_url":"https://api.github.com/users/hannahkates/events{/privacy}","received_events_url":"https://api.github.com/users/hannahkates/received_events","type":"User","site_admin":false},"labels":[{"id":956714563,"node_id":"MDU6TGFiZWw5NTY3MTQ1NjM=","url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"allthesignals","id":5004319,"node_id":"MDQ6VXNlcjUwMDQzMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5004319?v=4","gravatar_id":"","url":"https://api.github.com/users/allthesignals","html_url":"https://github.com/allthesignals","followers_url":"https://api.github.com/users/allthesignals/followers","following_url":"https://api.github.com/users/allthesignals/following{/other_user}","gists_url":"https://api.github.com/users/allthesignals/gists{/gist_id}","starred_url":"https://api.github.com/users/allthesignals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allthesignals/subscriptions","organizations_url":"https://api.github.com/users/allthesignals/orgs","repos_url":"https://api.github.com/users/allthesignals/repos","events_url":"https://api.github.com/users/allthesignals/events{/privacy}","received_events_url":"https://api.github.com/users/allthesignals/received_events","type":"User","site_admin":false},"assignees":[{"login":"chriswhong","id":1833820,"node_id":"MDQ6VXNlcjE4MzM4MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1833820?v=4","gravatar_id":"","url":"https://api.github.com/users/chriswhong","html_url":"https://github.com/chriswhong","followers_url":"https://api.github.com/users/chriswhong/followers","following_url":"https://api.github.com/users/chriswhong/following{/other_user}","gists_url":"https://api.github.com/users/chriswhong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswhong/subscriptions","organizations_url":"https://api.github.com/users/chriswhong/orgs","repos_url":"https://api.github.com/users/chriswhong/repos","events_url":"https://api.github.com/users/chriswhong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswhong/received_events","type":"User","site_admin":false},{"login":"allthesignals","id":5004319,"node_id":"MDQ6VXNlcjUwMDQzMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5004319?v=4","gravatar_id":"","url":"https://api.github.com/users/allthesignals","html_url":"https://github.com/allthesignals","followers_url":"https://api.github.com/users/allthesignals/followers","following_url":"https://api.github.com/users/allthesignals/following{/other_user}","gists_url":"https://api.github.com/users/allthesignals/gists{/gist_id}","starred_url":"https://api.github.com/users/allthesignals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allthesignals/subscriptions","organizations_url":"https://api.github.com/users/allthesignals/orgs","repos_url":"https://api.github.com/users/allthesignals/repos","events_url":"https://api.github.com/users/allthesignals/events{/privacy}","received_events_url":"https://api.github.com/users/allthesignals/received_events","type":"User","site_admin":false},{"login":"hannahkates","id":13967925,"node_id":"MDQ6VXNlcjEzOTY3OTI1","avatar_url":"https://avatars3.githubusercontent.com/u/13967925?v=4","gravatar_id":"","url":"https://api.github.com/users/hannahkates","html_url":"https://github.com/hannahkates","followers_url":"https://api.github.com/users/hannahkates/followers","following_url":"https://api.github.com/users/hannahkates/following{/other_user}","gists_url":"https://api.github.com/users/hannahkates/gists{/gist_id}","starred_url":"https://api.github.com/users/hannahkates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannahkates/subscriptions","organizations_url":"https://api.github.com/users/hannahkates/orgs","repos_url":"https://api.github.com/users/hannahkates/repos","events_url":"https://api.github.com/users/hannahkates/events{/privacy}","received_events_url":"https://api.github.com/users/hannahkates/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-12-20T22:21:43Z","updated_at":"2019-01-03T21:02:59Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/pulls/342","html_url":"https://github.com/NYCPlanning/labs-applicantmaps/pull/342","diff_url":"https://github.com/NYCPlanning/labs-applicantmaps/pull/342.diff","patch_url":"https://github.com/NYCPlanning/labs-applicantmaps/pull/342.patch"},"body":"I added an object array for custom draw styles (based on https://github.com/mapbox/mapbox-gl-draw/blob/5b2280817c901d93b05c937a7bdb2efb8afefe0c/docs/EXAMPLES.md), but the map still isn't successfully using them. \n\nI found this discussion from 2016 explaining the same problem: https://github.com/mapbox/mapbox-gl-draw/issues/288 where they were only able to apply custom styles using `this._map.setPaintProperty('gl-draw-active-polygon.hot', 'fill-color', '#000000');`. I couldn't find any other solutions, but more digging online might yield something.\n\nCloses #310."},"comment":{"url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/issues/comments/451276218","html_url":"https://github.com/NYCPlanning/labs-applicantmaps/pull/342#issuecomment-451276218","issue_url":"https://api.github.com/repos/NYCPlanning/labs-applicantmaps/issues/342","id":451276218,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTI3NjIxOA==","user":{"login":"chriswhong","id":1833820,"node_id":"MDQ6VXNlcjE4MzM4MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1833820?v=4","gravatar_id":"","url":"https://api.github.com/users/chriswhong","html_url":"https://github.com/chriswhong","followers_url":"https://api.github.com/users/chriswhong/followers","following_url":"https://api.github.com/users/chriswhong/following{/other_user}","gists_url":"https://api.github.com/users/chriswhong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswhong/subscriptions","organizations_url":"https://api.github.com/users/chriswhong/orgs","repos_url":"https://api.github.com/users/chriswhong/repos","events_url":"https://api.github.com/users/chriswhong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswhong/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T21:02:59Z","updated_at":"2019-01-03T21:02:59Z","author_association":"CONTRIBUTOR","body":"working on broken tests"}}
{"actor":{"display_login":"chriswhong"}}