{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/604","labels_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/604/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/604/events","html_url":"https://github.com/mapbox/mapbox-android-sdk/issues/604","id":55389779,"number":604,"title":"Threading for PathOverlay","user":{"login":"hallahan","id":556367,"avatar_url":"https://avatars.githubusercontent.com/u/556367?v=3","gravatar_id":"","url":"https://api.github.com/users/hallahan","html_url":"https://github.com/hallahan","followers_url":"https://api.github.com/users/hallahan/followers","following_url":"https://api.github.com/users/hallahan/following{/other_user}","gists_url":"https://api.github.com/users/hallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/hallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallahan/subscriptions","organizations_url":"https://api.github.com/users/hallahan/orgs","repos_url":"https://api.github.com/users/hallahan/repos","events_url":"https://api.github.com/users/hallahan/events{/privacy}","received_events_url":"https://api.github.com/users/hallahan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-25T00:01:53Z","updated_at":"2015-01-26T03:10:54Z","closed_at":"2015-01-26T03:10:54Z","body":"There is a ton of crazy stuff going on in the draw call of PathOverlay. Most of this stuff really should not be happening in the UI thread.\r\n\r\nI have begun experimenting with implementing this. However, I am unable to get the `onCancelled` to be fired.\r\n\r\nhttps://github.com/spatialdev/mapbox-android-sdk/blob/thread_PathOverlay/MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/overlay/PathOverlay.java\r\n\r\nCould someone with more threading experience in Android take a look at this for me? @bleege @ljbade ?\r\n\r\nBasically, we have some unreasonably expensive computation happening in the main thread that is responsible for the poor vector performance of this SDK."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/comments/71409865","html_url":"https://github.com/mapbox/mapbox-android-sdk/issues/604#issuecomment-71409865","issue_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/604","id":71409865,"user":{"login":"hallahan","id":556367,"avatar_url":"https://avatars.githubusercontent.com/u/556367?v=3","gravatar_id":"","url":"https://api.github.com/users/hallahan","html_url":"https://github.com/hallahan","followers_url":"https://api.github.com/users/hallahan/followers","following_url":"https://api.github.com/users/hallahan/following{/other_user}","gists_url":"https://api.github.com/users/hallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/hallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallahan/subscriptions","organizations_url":"https://api.github.com/users/hallahan/orgs","repos_url":"https://api.github.com/users/hallahan/repos","events_url":"https://api.github.com/users/hallahan/events{/privacy}","received_events_url":"https://api.github.com/users/hallahan/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T03:10:54Z","updated_at":"2015-01-26T03:10:54Z","body":"I'm thinking this isn't where attention needs to be right now. @farfromrefug mention about the desync of the drawing path and the actual drawing would make things tricky. "}}