{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2809","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2809/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2809/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2809/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/2809","id":113463594,"number":2809,"title":"Implemented addPolylines and removeAnnotations in JNI","user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/19","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v2.2.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/19/labels","id":1335389,"number":19,"title":"android-v2.2.0","description":"","creator":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":76,"state":"open","created_at":"2015-10-02T18:35:09Z","updated_at":"2015-10-27T16:54:12Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-10-26T22:21:29Z","updated_at":"2015-10-27T22:27:12Z","closed_at":"2015-10-27T10:18:33Z","body":"Currently `addPolylines` and `removeAnnotations` are implemented by looping through a list in Java.\r\n\r\nWe should improve these using JNI similar to `addMarkers` and `addPolygons`.\r\n\r\n`removeAnnotations` in JNI will also help with removing the 10000 markers in the bulk marker test activity.\r\n\r\n/cc @tobrun "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/151663697","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/2809#issuecomment-151663697","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2809","id":151663697,"user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T22:27:12Z","updated_at":"2015-10-27T22:27:12Z","body":"@tobrun Nice work! It's always good to have everyone here at least try some JNI to understand the pain and complexity it adds over say iOS."}}