{"action":"opened","number":556,"pull_request":{"url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/556","id":59235583,"html_url":"https://github.com/CoastalResilienceNetwork/GeositeFramework/pull/556","diff_url":"https://github.com/CoastalResilienceNetwork/GeositeFramework/pull/556.diff","patch_url":"https://github.com/CoastalResilienceNetwork/GeositeFramework/pull/556.patch","issue_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues/556","number":556,"state":"open","locked":false,"title":"Add support for adjusting layer opacity.","user":{"login":"caseypt","id":1042475,"avatar_url":"https://avatars.githubusercontent.com/u/1042475?v=3","gravatar_id":"","url":"https://api.github.com/users/caseypt","html_url":"https://github.com/caseypt","followers_url":"https://api.github.com/users/caseypt/followers","following_url":"https://api.github.com/users/caseypt/following{/other_user}","gists_url":"https://api.github.com/users/caseypt/gists{/gist_id}","starred_url":"https://api.github.com/users/caseypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseypt/subscriptions","organizations_url":"https://api.github.com/users/caseypt/orgs","repos_url":"https://api.github.com/users/caseypt/repos","events_url":"https://api.github.com/users/caseypt/events{/privacy}","received_events_url":"https://api.github.com/users/caseypt/received_events","type":"User","site_admin":false},"body":"Allows users to set the opacity on a layer by layer basis for those\r\nlayers that are part of services that support dynamic layers.\r\n\r\n* Set individual layer opacity using the LayerDrawingOptions class. This\r\nfeature is only supported for layers that are served from a service with\r\nsupport for dynamic layers turned on. This is not the default setting.\r\n* Save layer opacity settings are part of the state.\r\n* Adjust the layer menu to show or hide the opacity slider depending on\r\nthe layer's support for opacity.\r\n* Add opacity to the schema.\r\n* Add NOAA layers to the config to demo the opacity slider.\r\n\r\n**Testing instructions**\r\n- Activate one of the NOAA layers (the server is pretty slow, be patient). Confirm that you can adjust the opacity.\r\n- Turn on the other NOAA layer and confirm that it's opacity is not the same as the other layer.\r\n- The opacity slider position should be preserved between opening and closing the menu.\r\n- Select one of the other layers from the New Jersey service and confirm that the layer slider is not present (this may change if the dynamic service option is turned on).\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1042475/13021227/ffc81b8e-d1a7-11e5-9adf-a61cc458425d.png)\r\n\r\n\r\nKnown issues:\r\n- [ ] Opacity settings in the config are ignored (working on this).\r\n- [ ] Lazy loading prevents the slider from being present before the layer is loaded even for layers that support opacity. Should be fixed by #555.\r\n\r\nConnects to #522","created_at":"2016-02-12T21:45:34Z","updated_at":"2016-02-12T21:45:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/556/commits","review_comments_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/556/comments","review_comment_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues/556/comments","statuses_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/statuses/87bdb31ed38051b09599f71c1e32ba6dc460b51b","head":{"label":"caseypt:feature/opacity-slider-2","ref":"feature/opacity-slider-2","sha":"87bdb31ed38051b09599f71c1e32ba6dc460b51b","user":{"login":"caseypt","id":1042475,"avatar_url":"https://avatars.githubusercontent.com/u/1042475?v=3","gravatar_id":"","url":"https://api.github.com/users/caseypt","html_url":"https://github.com/caseypt","followers_url":"https://api.github.com/users/caseypt/followers","following_url":"https://api.github.com/users/caseypt/following{/other_user}","gists_url":"https://api.github.com/users/caseypt/gists{/gist_id}","starred_url":"https://api.github.com/users/caseypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseypt/subscriptions","organizations_url":"https://api.github.com/users/caseypt/orgs","repos_url":"https://api.github.com/users/caseypt/repos","events_url":"https://api.github.com/users/caseypt/events{/privacy}","received_events_url":"https://api.github.com/users/caseypt/received_events","type":"User","site_admin":false},"repo":{"id":30435887,"name":"GeositeFramework","full_name":"caseypt/GeositeFramework","owner":{"login":"caseypt","id":1042475,"avatar_url":"https://avatars.githubusercontent.com/u/1042475?v=3","gravatar_id":"","url":"https://api.github.com/users/caseypt","html_url":"https://github.com/caseypt","followers_url":"https://api.github.com/users/caseypt/followers","following_url":"https://api.github.com/users/caseypt/following{/other_user}","gists_url":"https://api.github.com/users/caseypt/gists{/gist_id}","starred_url":"https://api.github.com/users/caseypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseypt/subscriptions","organizations_url":"https://api.github.com/users/caseypt/orgs","repos_url":"https://api.github.com/users/caseypt/repos","events_url":"https://api.github.com/users/caseypt/events{/privacy}","received_events_url":"https://api.github.com/users/caseypt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caseypt/GeositeFramework","description":"Mapping Framework powering TNC Coastal Resilience programs","fork":true,"url":"https://api.github.com/repos/caseypt/GeositeFramework","forks_url":"https://api.github.com/repos/caseypt/GeositeFramework/forks","keys_url":"https://api.github.com/repos/caseypt/GeositeFramework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caseypt/GeositeFramework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caseypt/GeositeFramework/teams","hooks_url":"https://api.github.com/repos/caseypt/GeositeFramework/hooks","issue_events_url":"https://api.github.com/repos/caseypt/GeositeFramework/issues/events{/number}","events_url":"https://api.github.com/repos/caseypt/GeositeFramework/events","assignees_url":"https://api.github.com/repos/caseypt/GeositeFramework/assignees{/user}","branches_url":"https://api.github.com/repos/caseypt/GeositeFramework/branches{/branch}","tags_url":"https://api.github.com/repos/caseypt/GeositeFramework/tags","blobs_url":"https://api.github.com/repos/caseypt/GeositeFramework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caseypt/GeositeFramework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caseypt/GeositeFramework/git/refs{/sha}","trees_url":"https://api.github.com/repos/caseypt/GeositeFramework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caseypt/GeositeFramework/statuses/{sha}","languages_url":"https://api.github.com/repos/caseypt/GeositeFramework/languages","stargazers_url":"https://api.github.com/repos/caseypt/GeositeFramework/stargazers","contributors_url":"https://api.github.com/repos/caseypt/GeositeFramework/contributors","subscribers_url":"https://api.github.com/repos/caseypt/GeositeFramework/subscribers","subscription_url":"https://api.github.com/repos/caseypt/GeositeFramework/subscription","commits_url":"https://api.github.com/repos/caseypt/GeositeFramework/commits{/sha}","git_commits_url":"https://api.github.com/repos/caseypt/GeositeFramework/git/commits{/sha}","comments_url":"https://api.github.com/repos/caseypt/GeositeFramework/comments{/number}","issue_comment_url":"https://api.github.com/repos/caseypt/GeositeFramework/issues/comments{/number}","contents_url":"https://api.github.com/repos/caseypt/GeositeFramework/contents/{+path}","compare_url":"https://api.github.com/repos/caseypt/GeositeFramework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caseypt/GeositeFramework/merges","archive_url":"https://api.github.com/repos/caseypt/GeositeFramework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caseypt/GeositeFramework/downloads","issues_url":"https://api.github.com/repos/caseypt/GeositeFramework/issues{/number}","pulls_url":"https://api.github.com/repos/caseypt/GeositeFramework/pulls{/number}","milestones_url":"https://api.github.com/repos/caseypt/GeositeFramework/milestones{/number}","notifications_url":"https://api.github.com/repos/caseypt/GeositeFramework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caseypt/GeositeFramework/labels{/name}","releases_url":"https://api.github.com/repos/caseypt/GeositeFramework/releases{/id}","deployments_url":"https://api.github.com/repos/caseypt/GeositeFramework/deployments","created_at":"2015-02-06T22:26:42Z","updated_at":"2016-01-14T13:59:40Z","pushed_at":"2016-02-12T21:36:40Z","git_url":"git://github.com/caseypt/GeositeFramework.git","ssh_url":"git@github.com:caseypt/GeositeFramework.git","clone_url":"https://github.com/caseypt/GeositeFramework.git","svn_url":"https://github.com/caseypt/GeositeFramework","homepage":"http://maps.coastalresilience.org/network/","size":8179,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CoastalResilienceNetwork:layer-selector-v2","ref":"layer-selector-v2","sha":"a9354957f9137fe3ec6f40e4b150e7e9d88e4ff6","user":{"login":"CoastalResilienceNetwork","id":5659174,"avatar_url":"https://avatars.githubusercontent.com/u/5659174?v=3","gravatar_id":"","url":"https://api.github.com/users/CoastalResilienceNetwork","html_url":"https://github.com/CoastalResilienceNetwork","followers_url":"https://api.github.com/users/CoastalResilienceNetwork/followers","following_url":"https://api.github.com/users/CoastalResilienceNetwork/following{/other_user}","gists_url":"https://api.github.com/users/CoastalResilienceNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/CoastalResilienceNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoastalResilienceNetwork/subscriptions","organizations_url":"https://api.github.com/users/CoastalResilienceNetwork/orgs","repos_url":"https://api.github.com/users/CoastalResilienceNetwork/repos","events_url":"https://api.github.com/users/CoastalResilienceNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/CoastalResilienceNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":7753400,"name":"GeositeFramework","full_name":"CoastalResilienceNetwork/GeositeFramework","owner":{"login":"CoastalResilienceNetwork","id":5659174,"avatar_url":"https://avatars.githubusercontent.com/u/5659174?v=3","gravatar_id":"","url":"https://api.github.com/users/CoastalResilienceNetwork","html_url":"https://github.com/CoastalResilienceNetwork","followers_url":"https://api.github.com/users/CoastalResilienceNetwork/followers","following_url":"https://api.github.com/users/CoastalResilienceNetwork/following{/other_user}","gists_url":"https://api.github.com/users/CoastalResilienceNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/CoastalResilienceNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoastalResilienceNetwork/subscriptions","organizations_url":"https://api.github.com/users/CoastalResilienceNetwork/orgs","repos_url":"https://api.github.com/users/CoastalResilienceNetwork/repos","events_url":"https://api.github.com/users/CoastalResilienceNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/CoastalResilienceNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CoastalResilienceNetwork/GeositeFramework","description":"Mapping Framework powering TNC Coastal Resilience programs","fork":false,"url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework","forks_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/forks","keys_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/teams","hooks_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/hooks","issue_events_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues/events{/number}","events_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/events","assignees_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/assignees{/user}","branches_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/branches{/branch}","tags_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/tags","blobs_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/git/refs{/sha}","trees_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/statuses/{sha}","languages_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/languages","stargazers_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/stargazers","contributors_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/contributors","subscribers_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/subscribers","subscription_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/subscription","commits_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/commits{/sha}","git_commits_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/git/commits{/sha}","comments_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/comments{/number}","issue_comment_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues/comments{/number}","contents_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/contents/{+path}","compare_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/merges","archive_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/downloads","issues_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues{/number}","pulls_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls{/number}","milestones_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/milestones{/number}","notifications_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/labels{/name}","releases_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/releases{/id}","deployments_url":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/deployments","created_at":"2013-01-22T14:07:50Z","updated_at":"2016-01-18T19:07:40Z","pushed_at":"2016-02-11T18:51:40Z","git_url":"git://github.com/CoastalResilienceNetwork/GeositeFramework.git","ssh_url":"git@github.com:CoastalResilienceNetwork/GeositeFramework.git","clone_url":"https://github.com/CoastalResilienceNetwork/GeositeFramework.git","svn_url":"https://github.com/CoastalResilienceNetwork/GeositeFramework","homepage":"http://maps.coastalresilience.org/network/","size":8214,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":40,"forks":7,"open_issues":40,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/556"},"html":{"href":"https://github.com/CoastalResilienceNetwork/GeositeFramework/pull/556"},"issue":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues/556"},"comments":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/issues/556/comments"},"review_comments":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/556/comments"},"review_comment":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/pulls/556/commits"},"statuses":{"href":"https://api.github.com/repos/CoastalResilienceNetwork/GeositeFramework/statuses/87bdb31ed38051b09599f71c1e32ba6dc460b51b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":155,"deletions":21,"changed_files":5}}