{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/7245","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/7245/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/7245/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/7245/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/7245","id":192575678,"number":7245,"title":"Hide/Show Markers based on priority on visible map resion","user":{"login":"guruduttstay","id":3405738,"avatar_url":"https://avatars.githubusercontent.com/u/3405738?v=3","gravatar_id":"","url":"https://api.github.com/users/guruduttstay","html_url":"https://github.com/guruduttstay","followers_url":"https://api.github.com/users/guruduttstay/followers","following_url":"https://api.github.com/users/guruduttstay/following{/other_user}","gists_url":"https://api.github.com/users/guruduttstay/gists{/gist_id}","starred_url":"https://api.github.com/users/guruduttstay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruduttstay/subscriptions","organizations_url":"https://api.github.com/users/guruduttstay/orgs","repos_url":"https://api.github.com/users/guruduttstay/repos","events_url":"https://api.github.com/users/guruduttstay/events{/privacy}","received_events_url":"https://api.github.com/users/guruduttstay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-30T14:13:39Z","updated_at":"2016-12-02T13:51:34Z","closed_at":null,"body":"<!--\r\nHello and thanks for contributing! To help us diagnose your problem quickly, please:\r\n\r\n - Include a minimal demonstration of the bug, including code, logs, and screenshots.\r\n - Ensure you can reproduce the bug using the latest release.\r\n - Only post to report a bug or request a feature; direct all other questions to: https://stackoverflow.com/questions/tagged/mapbox\r\n-->\r\n\r\nPlatform: Android \r\nMapbox SDK version: 4.2.0-beta.4 \r\n\r\n### Steps to trigger behavior\r\n\r\nWe want to show top 20 highest rated POIs/places in visible map region on screen\r\n\r\nWhile changing/Zooming/Panning map region : \r\n - Find top 20 high rated POI's / places in visible map region on screen\r\n - Check if Markers for those POI's :\r\n    - If exists : Do Nothing\r\n    - If not :  Add them\r\n    - If not needed : Remove them\r\nResult : https://www.dropbox.com/s/o2p8k5kzplqyhs6/AddRemoveMarkersDynamically.mp4?dl=0\r\n\r\n### Expected behavior\r\n - Add markers gracefully (Animated way) while adding start from zero opacity to 100% visible withing few milli second \r\n - No flickering while zooming/panning\r\n\r\n### Actual behavior\r\n - As shown in above Video\r\n\r\n\r\n\r\nI tried to replace Marker with MarkerView but MarkerView is lagging \r\nMarkerView looks like : https://www.dropbox.com/s/v9g5tl8o0qj9qah/MarkerView.mov?dl=0\r\n\r\nLooks like MarkerView is not in Sync with OpenGL\r\n\r\nWhat is best way of Adding/removing OR Hiding/Showing Markers in Map Dynamicelly while zooming / Panning ?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/264458103","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/7245#issuecomment-264458103","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/7245","id":264458103,"user":{"login":"guruduttstay","id":3405738,"avatar_url":"https://avatars.githubusercontent.com/u/3405738?v=3","gravatar_id":"","url":"https://api.github.com/users/guruduttstay","html_url":"https://github.com/guruduttstay","followers_url":"https://api.github.com/users/guruduttstay/followers","following_url":"https://api.github.com/users/guruduttstay/following{/other_user}","gists_url":"https://api.github.com/users/guruduttstay/gists{/gist_id}","starred_url":"https://api.github.com/users/guruduttstay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruduttstay/subscriptions","organizations_url":"https://api.github.com/users/guruduttstay/orgs","repos_url":"https://api.github.com/users/guruduttstay/repos","events_url":"https://api.github.com/users/guruduttstay/events{/privacy}","received_events_url":"https://api.github.com/users/guruduttstay/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T13:51:34Z","updated_at":"2016-12-02T13:51:34Z","body":"Hi\r\n\r\nI did some optimisation  but still maps seems to be little bit lagging \r\n\r\nPerformance : http://bit.ly/2gUpVpN\r\n\r\nNB : I have added one SymbolLayer for each Pin, but if you notice in video Dot pins are over bigger Pins  :(\r\n\r\nIs is possible to set Z-Order index for Symbol Layer ?\r\n"}}
{"actor":{"display_login":"guruduttstay"}}