{"action":"created","issue":{"url":"https://api.github.com/repos/Viglino/ol3-ext/issues/10","repository_url":"https://api.github.com/repos/Viglino/ol3-ext","labels_url":"https://api.github.com/repos/Viglino/ol3-ext/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Viglino/ol3-ext/issues/10/comments","events_url":"https://api.github.com/repos/Viglino/ol3-ext/issues/10/events","html_url":"https://github.com/Viglino/ol3-ext/pull/10","id":186390145,"number":10,"title":"Two new features:","user":{"login":"dmcritchie","id":1919285,"avatar_url":"https://avatars.githubusercontent.com/u/1919285?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcritchie","html_url":"https://github.com/dmcritchie","followers_url":"https://api.github.com/users/dmcritchie/followers","following_url":"https://api.github.com/users/dmcritchie/following{/other_user}","gists_url":"https://api.github.com/users/dmcritchie/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcritchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcritchie/subscriptions","organizations_url":"https://api.github.com/users/dmcritchie/orgs","repos_url":"https://api.github.com/users/dmcritchie/repos","events_url":"https://api.github.com/users/dmcritchie/events{/privacy}","received_events_url":"https://api.github.com/users/dmcritchie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-10-31T20:33:31Z","updated_at":"2016-11-09T20:00:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Viglino/ol3-ext/pulls/10","html_url":"https://github.com/Viglino/ol3-ext/pull/10","diff_url":"https://github.com/Viglino/ol3-ext/pull/10.diff","patch_url":"https://github.com/Viglino/ol3-ext/pull/10.patch"},"body":"Bonjour Jean-Marc,\r\n\r\nI've added a couple of features to ol3-ext that I needed to make use of your control bar in my mapping application, as described below. I am providing them here in case they should be of interest to you:\r\n\r\n1) Recursively deactivate any controls in sub control bar when parent control is deactivated. When sub control bar becomes invisible because parent control has been deactivated, I need for any previously active control(s) in that sub control bar to be automatically deactivated as well.\r\n\r\n2) New defaultActive parameter for Toggle control. For top-level control bar, same as 'active' param. For nested control bar, sets the control active when parent control is active. Handy if user typically needs to start with a specific control in a main or sub control bar.\r\n\r\nItem (1)  seems similar to something you apparently started working on, but had commented out.\r\n\r\nFeel free to ignore or change any of this, of course.\r\n\r\nOnce I can make controls in sub control bars change their background color when activated (issue #8), I'll be all set to go, I believe.\r\n\r\nThanks for a very helpful tool set.\r\n\r\nBest,\r\nDennis\r\n"},"comment":{"url":"https://api.github.com/repos/Viglino/ol3-ext/issues/comments/259511091","html_url":"https://github.com/Viglino/ol3-ext/pull/10#issuecomment-259511091","issue_url":"https://api.github.com/repos/Viglino/ol3-ext/issues/10","id":259511091,"user":{"login":"dmcritchie","id":1919285,"avatar_url":"https://avatars.githubusercontent.com/u/1919285?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcritchie","html_url":"https://github.com/dmcritchie","followers_url":"https://api.github.com/users/dmcritchie/followers","following_url":"https://api.github.com/users/dmcritchie/following{/other_user}","gists_url":"https://api.github.com/users/dmcritchie/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcritchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcritchie/subscriptions","organizations_url":"https://api.github.com/users/dmcritchie/orgs","repos_url":"https://api.github.com/users/dmcritchie/repos","events_url":"https://api.github.com/users/dmcritchie/events{/privacy}","received_events_url":"https://api.github.com/users/dmcritchie/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T20:00:18Z","updated_at":"2016-11-09T20:00:18Z","body":"Great!\r\n\r\nThanks,\r\nDennis\r\n"}}
{"actor":{"display_login":"dmcritchie"}}