{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/5329","repository_url":"https://api.github.com/repos/openlayers/ol3","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/5329/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/5329/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/5329/events","html_url":"https://github.com/openlayers/ol3/pull/5329","id":154001547,"number":5329,"title":"UTFGrid updates","user":{"login":"tschaub","id":41094,"avatar_url":"https://avatars.githubusercontent.com/u/41094?v=3","gravatar_id":"","url":"https://api.github.com/users/tschaub","html_url":"https://github.com/tschaub","followers_url":"https://api.github.com/users/tschaub/followers","following_url":"https://api.github.com/users/tschaub/following{/other_user}","gists_url":"https://api.github.com/users/tschaub/gists{/gist_id}","starred_url":"https://api.github.com/users/tschaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschaub/subscriptions","organizations_url":"https://api.github.com/users/tschaub/orgs","repos_url":"https://api.github.com/users/tschaub/repos","events_url":"https://api.github.com/users/tschaub/events{/privacy}","received_events_url":"https://api.github.com/users/tschaub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-10T13:06:35Z","updated_at":"2016-05-11T07:14:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/5329","html_url":"https://github.com/openlayers/ol3/pull/5329","diff_url":"https://github.com/openlayers/ol3/pull/5329.diff","patch_url":"https://github.com/openlayers/ol3/pull/5329.patch"},"body":"This makes it so the UTFGrid source (wish we hadn't called it `TileUTFGrid`) uses XHR to load by default.  A `jsonp` option is added for legacy support.\r\n\r\nThis also makes it so the `forDataAtCoordinateAndResolution()` (could have been `getData()`) function returns the \"key\" (or feature id) if the optional `data` member is absent from the UTFGrid.\r\n\r\nI had completely forgotten about #5238 when I needed these changes.  So I attributed the first commit to @aberenyi since it is essentially the same as his work there.\r\n\r\nTests added for the loading success/failure.  I'll add a test for the `data`less UTFGrid in a bit."},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/218380459","html_url":"https://github.com/openlayers/ol3/pull/5329#issuecomment-218380459","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/5329","id":218380459,"user":{"login":"fredj","id":100959,"avatar_url":"https://avatars.githubusercontent.com/u/100959?v=3","gravatar_id":"","url":"https://api.github.com/users/fredj","html_url":"https://github.com/fredj","followers_url":"https://api.github.com/users/fredj/followers","following_url":"https://api.github.com/users/fredj/following{/other_user}","gists_url":"https://api.github.com/users/fredj/gists{/gist_id}","starred_url":"https://api.github.com/users/fredj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredj/subscriptions","organizations_url":"https://api.github.com/users/fredj/orgs","repos_url":"https://api.github.com/users/fredj/repos","events_url":"https://api.github.com/users/fredj/events{/privacy}","received_events_url":"https://api.github.com/users/fredj/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T07:14:05Z","updated_at":"2016-05-11T07:14:05Z","body":"LGTM, thanks @tschaub "}}