On our blog, we described step by step how we used this code for clustering to display a large number of markers on a map.
Install Node.js
Install the Expo CLI and yarn.
npm install expo-cli yarn --global
Download or clone this project.
Navigate to the project.
1. cd map-clustering-rn-example
Install dependencies
yarn
# or
npm install
Run the project
expo start
#or
yarn start
# you can open iOS, Android, or web from here, or run them directly with the commands below.
yarn android
yarn ios
yarn web