{"action":"created","issue":{"url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/52","labels_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/52/comments","events_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/52/events","html_url":"https://github.com/tombatossals/angular-openlayers-directive/issues/52","id":57965875,"number":52,"title":"Source does not allow null crossOrigin","user":{"login":"myspivey","id":2472925,"avatar_url":"https://avatars.githubusercontent.com/u/2472925?v=3","gravatar_id":"","url":"https://api.github.com/users/myspivey","html_url":"https://github.com/myspivey","followers_url":"https://api.github.com/users/myspivey/followers","following_url":"https://api.github.com/users/myspivey/following{/other_user}","gists_url":"https://api.github.com/users/myspivey/gists{/gist_id}","starred_url":"https://api.github.com/users/myspivey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myspivey/subscriptions","organizations_url":"https://api.github.com/users/myspivey/orgs","repos_url":"https://api.github.com/users/myspivey/repos","events_url":"https://api.github.com/users/myspivey/events{/privacy}","received_events_url":"https://api.github.com/users/myspivey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-17T18:59:26Z","updated_at":"2015-06-15T19:56:35Z","closed_at":null,"body":"Currently Open Layers supports null as a valid value for crossorigin. Currently if you attempt to pass null (which is the default value in ol) it executes the following: crossOrigin: source.crossOrigin ? source.crossOrigin : 'anonymous'.\r\n\r\nSince this sees source.crossOrigin as null, it then applies anonymous instead which is not the desired behavior. This breaks any server that does not have CORS enabled."},"comment":{"url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/comments/112188977","html_url":"https://github.com/tombatossals/angular-openlayers-directive/issues/52#issuecomment-112188977","issue_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/52","id":112188977,"user":{"login":"sjdixon","id":2715210,"avatar_url":"https://avatars.githubusercontent.com/u/2715210?v=3","gravatar_id":"","url":"https://api.github.com/users/sjdixon","html_url":"https://github.com/sjdixon","followers_url":"https://api.github.com/users/sjdixon/followers","following_url":"https://api.github.com/users/sjdixon/following{/other_user}","gists_url":"https://api.github.com/users/sjdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/sjdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjdixon/subscriptions","organizations_url":"https://api.github.com/users/sjdixon/orgs","repos_url":"https://api.github.com/users/sjdixon/repos","events_url":"https://api.github.com/users/sjdixon/events{/privacy}","received_events_url":"https://api.github.com/users/sjdixon/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T19:56:35Z","updated_at":"2015-06-15T19:56:35Z","body":"As am I."}}