{"action":"created","issue":{"url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/241","repository_url":"https://api.github.com/repos/GeekyAnts/NativeBase","labels_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/241/comments","events_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/241/events","html_url":"https://github.com/GeekyAnts/NativeBase/issues/241","id":183799579,"number":241,"title":"react native maps are not showing with Native base","user":{"login":"adnanmayo","id":9306690,"avatar_url":"https://avatars0.githubusercontent.com/u/9306690?v=4","gravatar_id":"","url":"https://api.github.com/users/adnanmayo","html_url":"https://github.com/adnanmayo","followers_url":"https://api.github.com/users/adnanmayo/followers","following_url":"https://api.github.com/users/adnanmayo/following{/other_user}","gists_url":"https://api.github.com/users/adnanmayo/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanmayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanmayo/subscriptions","organizations_url":"https://api.github.com/users/adnanmayo/orgs","repos_url":"https://api.github.com/users/adnanmayo/repos","events_url":"https://api.github.com/users/adnanmayo/events{/privacy}","received_events_url":"https://api.github.com/users/adnanmayo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-18T20:51:45Z","updated_at":"2017-09-18T15:23:20Z","closed_at":"2016-11-18T13:52:30Z","author_association":"NONE","body":"Hi how to show the react native map inside the content.? is there is  any solution?\n"},"comment":{"url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/comments/330258470","html_url":"https://github.com/GeekyAnts/NativeBase/issues/241#issuecomment-330258470","issue_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/241","id":330258470,"user":{"login":"ChrisWphoto","id":8596524,"avatar_url":"https://avatars2.githubusercontent.com/u/8596524?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisWphoto","html_url":"https://github.com/ChrisWphoto","followers_url":"https://api.github.com/users/ChrisWphoto/followers","following_url":"https://api.github.com/users/ChrisWphoto/following{/other_user}","gists_url":"https://api.github.com/users/ChrisWphoto/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisWphoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisWphoto/subscriptions","organizations_url":"https://api.github.com/users/ChrisWphoto/orgs","repos_url":"https://api.github.com/users/ChrisWphoto/repos","events_url":"https://api.github.com/users/ChrisWphoto/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisWphoto/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T15:23:20Z","updated_at":"2017-09-18T15:23:20Z","author_association":"NONE","body":"`<MapView/>` will work inside a ScrollView, just make sure you set a minHeight on it's containing view \r\n\r\n```\r\n  _renderMap() {\r\n    if (!this.state.mapLoaded) {\r\n      return (\r\n        <View style={{ flex: 1, justifyContent: 'center' }}>\r\n          <Spinner />\r\n        </View>\r\n      )\r\n    }\r\n    return (\r\n      <View style={{ flex: 1, minHeight: 150 }}>\r\n        <MapView initialRegion={this.state.region} style={{ flex: 1 }} />\r\n      </View>\r\n    )\r\n  }\r\nrender() {\r\n    const { navigation } = this.props\r\n    return (\r\n      <Container>\r\n        <StatusBar barStyle=\"light-content\" />\r\n        <Content>\r\n          <Text> {navigation.state.params.id} </Text>\r\n          {this._renderMap()}\r\n        </Content>\r\n      </Container>\r\n    )\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"ChrisWphoto"}}