- This version acts on gmp-click events generated by Google Maps Advanced Markers and removes the Google Map console warnings regarding gmp-click events.
- This version no longer requires "cluster marker click checks" that were present in previous versions. By default, when a cluster marker is clicked on, the clusterer will try to fit / zoom-in on the data bounds of the cluster (does not use the Google maps .fitBounds() method as it does not work for some edge cases). If unable, then the zoom level is simply increased by 1.
Use the following links to learn about the grid clusterer:
- Creating data points vs creating Google map markers
- Tiles and grid points
- Clusterer configuration options and performance
- Clusterer Reference
- Click on the "grid_clusterer.zip" archive above.
- Click on the "Download" button and save the archive locally.
- Un-zip the grid_clusterer archive
- IMPORTANT: In order to use Google maps, you require a Google maps API key.
Replace the string "[YOUR_API_KEY]" with your Google maps API key in all "index.html" files found in the following directories / files:
- ./dist/ex0/index.html
- ./dist/ex1/index.html
- ./dist/ex2/index.html
- Using any web browser, open the "/dist/index.html" file.
