Skip to content

Instantly share code, notes, and snippets.

@davidroman0O
Created April 29, 2017 19:06
Show Gist options
  • Save davidroman0O/1d9494f3a34f164da5dfecdf7e465498 to your computer and use it in GitHub Desktop.
Save davidroman0O/1d9494f3a34f164da5dfecdf7e465498 to your computer and use it in GitHub Desktop.
Medium Cluster
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