googlemaps / googlemaps/js-markerclusterer

After creating a MarkerClusterer unable to register 'mouseover' event on the clusterer object

Open
#715 5 comments 3 reactions 0 assignees View on GitHub
type: question
Dominant language
TypeScript
Stars
293
Forks
104
Avg merge
3m
Merged PRs (30d)
18

Description

```js
this.googleInfoWindowInvisibleMarkers =new MarkerClusterer({ map : this.map, markers:this.clusterMarkers , renderer : renderer });

this.googleInfoWindowInvisibleMarkers.addListener('mouseover', (cluster) => {
infoWindow.close();
let content = '

';
for (let i = 0; i < cluster.length; i++) {
content += `${cluster[i].title}
`;
}
content += '
';
infoWindow.setContent(content);
infoWindow.open(cluster.getMap(), cluster);
this.googleMapLastHoverInfoWindow = infoWindow;
});
```
I want to show some data in the info window after creating the clusterer but the event is not being registered.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.