Marker Clustering React GeoSearch

Hello there!

I am using React GeoSearch and want to implement Marker clustering for the map. So, I was wondering how can I achieve this?

Best regards,
Kris :slight_smile:


Could this help somehow?

Unfortunately I think no. I somehow need to pass:

var markerCluster = new MarkerClusterer(map, markers, options);

when initializing the map like here:

To be honest, I’m not sure what the issue is. This part doesn’t seem very Algolia-related. I believe the most important part will be to reformat the hits to match the expected format for markers.

Can you give us more details about where you’re at and is the issue you’re facing?