{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/4629","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/4629/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/4629/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/4629/events","html_url":"https://github.com/openlayers/ol3/pull/4629","id":125170392,"number":4629,"title":"Simplify scaleline calculation","user":{"login":"ahocevar","id":211514,"avatar_url":"https://avatars.githubusercontent.com/u/211514?v=3","gravatar_id":"","url":"https://api.github.com/users/ahocevar","html_url":"https://github.com/ahocevar","followers_url":"https://api.github.com/users/ahocevar/followers","following_url":"https://api.github.com/users/ahocevar/following{/other_user}","gists_url":"https://api.github.com/users/ahocevar/gists{/gist_id}","starred_url":"https://api.github.com/users/ahocevar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahocevar/subscriptions","organizations_url":"https://api.github.com/users/ahocevar/orgs","repos_url":"https://api.github.com/users/ahocevar/repos","events_url":"https://api.github.com/users/ahocevar/events{/privacy}","received_events_url":"https://api.github.com/users/ahocevar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T12:45:02Z","updated_at":"2016-01-06T20:18:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/4629","html_url":"https://github.com/openlayers/ol3/pull/4629","diff_url":"https://github.com/openlayers/ol3/pull/4629.diff","patch_url":"https://github.com/openlayers/ol3/pull/4629.patch"},"body":"It looks like the scaleline control has some legacy code that is no longer needed now that the projection provides a point resolution in crs units.\r\n\r\nFixes #4572."},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/169448914","html_url":"https://github.com/openlayers/ol3/pull/4629#issuecomment-169448914","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/4629","id":169448914,"user":{"login":"ahocevar","id":211514,"avatar_url":"https://avatars.githubusercontent.com/u/211514?v=3","gravatar_id":"","url":"https://api.github.com/users/ahocevar","html_url":"https://github.com/ahocevar","followers_url":"https://api.github.com/users/ahocevar/followers","following_url":"https://api.github.com/users/ahocevar/following{/other_user}","gists_url":"https://api.github.com/users/ahocevar/gists{/gist_id}","starred_url":"https://api.github.com/users/ahocevar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahocevar/subscriptions","organizations_url":"https://api.github.com/users/ahocevar/orgs","repos_url":"https://api.github.com/users/ahocevar/repos","events_url":"https://api.github.com/users/ahocevar/events{/privacy}","received_events_url":"https://api.github.com/users/ahocevar/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T20:18:29Z","updated_at":"2016-01-06T20:18:29Z","body":"You're right @flipper44, the point resolution needs to be multiplied by the meters per unit. I made that change. Now I'll create an example with your WKT def to see if I can reproduce what else is wrong."}}