This example uses the JavaSuperCluster library to manage marker density by clustering markers in near proximity. SuperCluster enables the efficient management of large numbers of markers - the example creates 100,000 markers at random locations in the San Francisco Bay Area.
-
To run the example you'll need an API key with the Map Display API enabled.
-
Open the project in Android Studio, the file
local.properties
will be generated in your project level directory, and add the following code to local.properties, replacingYOUR_API_KEY
with your API key.
API_KEY=YOUR_API_KEY
- Save the file and run the app.