Created
April 29, 2017 19:06
-
-
Save davidroman0O/1d9494f3a34f164da5dfecdf7e465498 to your computer and use it in GitHub Desktop.
Medium Cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Expo from 'expo'; | |
render() { | |
return ( | |
<View | |
style={{ | |
flex: 1 | |
}} | |
> | |
<Expo.MapView | |
ref={ref => { this.map = ref; }} | |
style={{ | |
flex: 1, | |
}} | |
initialRegion={Marseille} | |
onRegionChange={this.onChangeRegion.bind(this)} | |
onRegionChangeComplete={this.onChangeRegionComplete.bind(this)} | |
> | |
{ | |
this.createMarkersForRegion_Places() | |
} | |
</Expo.MapView> | |
</View> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment