Skip to content

novalabio/react-native-maps-super-cluster-example

Repository files navigation

ReactNative Maps Clustering Example

This is a showcase application for react-native-maps-super-cluster, an high-performing map component with clustering for React Native, powered by AirBnB's react-native-maps and MapBox's SuperCluster.

Expo

mgscreativa is maintaining the Expo version of this sample application (see expo branch). You can test the app on your device with the Expo demo app.

Running

iOS

git clone https://github.com/novalabio/react-native-maps-super-cluster-example.git clusteredMap

cd clusteredMap

npm i

react-native run-ios

Android

git clone https://github.com/novalabio/react-native-maps-super-cluster-example.git clusteredMap

cd clusteredMap

npm i

// replace <GM_API_KEY> in android/app/src/main/AndroidManifest.xml

react-native run-android

TODO

  • showcase fitToElements and fitToRegion
  • showcase user-defined actions triggerable by a marker onPress
  • showcase compatibility with existing react-native-maps features

Contributors

License

See our License for more information.