point clustering

if your points are too many, you can display them in clusters, using the MarkerClusterer library.

>>divides the map into a grid of a certain size and groups the markers into each square, based on the distance between them

you may specify the grid size to create larger or smaller clusters according to what you need to visualize


const MarkerClusterer = window["MarkerClusterer"];
let markerCluster = new MarkerClusterer(this.map, this.markers, {imagePath: 'assets/m'});
markerCluster.setGridSize(clust);