{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4439","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4439/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4439/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4439/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4439","id":142924132,"number":4439,"title":"OnMapReadyCallback not called","user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/26","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v4.0.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/26/labels","id":1520788,"number":26,"title":"android-v4.0.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":7,"closed_issues":308,"state":"open","created_at":"2016-01-19T23:39:55Z","updated_at":"2016-03-23T16:18:03Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-03-23T10:38:56Z","updated_at":"2016-03-23T21:20:30Z","closed_at":null,"body":"```java\r\n        mapView = new MapView(this, options);\r\n        ViewGroup viewGroup = (ViewGroup) findViewById(R.id.parentLayout);\r\n        viewGroup.addView(mapView);\r\n\r\n        mapView.onCreate(savedInstanceState);\r\n        mapView.getMapAsync(this);\r\n```\r\n\r\nWhen creating a mapview as shown above, I'm not receiving the map async callback. \r\nOnly when I zoom out a bit I'm receiving the callback.\r\n\r\nAn example, the maps is shown but callback is not invoked:\r\n\r\n![device-2016-03-23-113451](https://cloud.githubusercontent.com/assets/2151639/13982635/78cc1154-f0eb-11e5-88fc-e8bffd6eaa3f.png)\r\n\r\nOnly when you interact (zoom/pan) with the map, the callback is invoked and content is shown:\r\n\r\n![device-2016-03-23-113538](https://cloud.githubusercontent.com/assets/2151639/13982658/919379a2-f0eb-11e5-919c-cff3245ebd5d.png)\r\n\r\nWe need some kind of invalidation or some sort in onStart/onResume to trigger the update?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/200548907","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4439#issuecomment-200548907","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4439","id":200548907,"user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T21:20:29Z","updated_at":"2016-03-23T21:20:29Z","body":"Here is a similar example:\r\nhttps://www.dropbox.com/s/fmheyvckbp184bv/device-2016-03-23-143103.mp4?dl=0"}}