{"action":"closed","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/4406","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/4406/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/4406/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/4406/events","html_url":"https://github.com/openlayers/ol3/issues/4406","id":116573062,"number":4406,"title":"[3.11] doesn't render icon sprites correctly (ol.style.Icon \"offset\" + \"size\" options)","user":{"login":"kulmegil","id":570575,"avatar_url":"https://avatars.githubusercontent.com/u/570575?v=3","gravatar_id":"","url":"https://api.github.com/users/kulmegil","html_url":"https://github.com/kulmegil","followers_url":"https://api.github.com/users/kulmegil/followers","following_url":"https://api.github.com/users/kulmegil/following{/other_user}","gists_url":"https://api.github.com/users/kulmegil/gists{/gist_id}","starred_url":"https://api.github.com/users/kulmegil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulmegil/subscriptions","organizations_url":"https://api.github.com/users/kulmegil/orgs","repos_url":"https://api.github.com/users/kulmegil/repos","events_url":"https://api.github.com/users/kulmegil/events{/privacy}","received_events_url":"https://api.github.com/users/kulmegil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-12T15:32:07Z","updated_at":"2015-11-13T00:02:27Z","closed_at":"2015-11-13T00:02:26Z","body":"I was using ol.style.Icon with \"offset\" and \"size\" options in v3.10.1 to render individual images from a sprite. But 3.11 doesn't render icon as expected - instead of cropped icon almost whole sprite is rendered for each feature.\r\n\r\nOL v3.10.1:\r\nhttp://jsfiddle.net/fzbrwwpj/1/\r\n\r\nOL v3.11:\r\nhttp://jsfiddle.net/emeacb27/2/\r\n\r\n"}}