{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3614","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3614/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3614/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3614/events","html_url":"https://github.com/Leaflet/Leaflet/pull/3614","id":94561497,"number":3614,"title":"Hardcoded dependency L.CRS.Earth in L.Control.Scale","user":{"login":"cmulders","id":8112493,"avatar_url":"https://avatars.githubusercontent.com/u/8112493?v=3","gravatar_id":"","url":"https://api.github.com/users/cmulders","html_url":"https://github.com/cmulders","followers_url":"https://api.github.com/users/cmulders/followers","following_url":"https://api.github.com/users/cmulders/following{/other_user}","gists_url":"https://api.github.com/users/cmulders/gists{/gist_id}","starred_url":"https://api.github.com/users/cmulders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmulders/subscriptions","organizations_url":"https://api.github.com/users/cmulders/orgs","repos_url":"https://api.github.com/users/cmulders/repos","events_url":"https://api.github.com/users/cmulders/events{/privacy}","received_events_url":"https://api.github.com/users/cmulders/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T12:23:51Z","updated_at":"2015-07-12T19:11:24Z","closed_at":"2015-07-12T19:11:19Z","pull_request":{"url":"https://api.github.com/repos/Leaflet/Leaflet/pulls/3614","html_url":"https://github.com/Leaflet/Leaflet/pull/3614","diff_url":"https://github.com/Leaflet/Leaflet/pull/3614.diff","patch_url":"https://github.com/Leaflet/Leaflet/pull/3614.patch"},"body":"Currently,  L.Control.Scale uses hard-coded the L.CRS.Earth.distance function, while this CRS could have been changed by the user during map creation. \r\nChanging this to map.distance will remove this hard-coded dependency adding flexibility, while maintaining the same functionality."},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments/120754800","html_url":"https://github.com/Leaflet/Leaflet/pull/3614#issuecomment-120754800","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3614","id":120754800,"user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T19:11:24Z","updated_at":"2015-07-12T19:11:24Z","body":"Thanks!"}}