Question

I'm using gmaps4rails V2 and I have do re-define the MarkerClusterer default behaviour changing the grid size. How can i accomplish my goal?

Thanks Claudio

Was it helpful?

Solution

Ok, I just found out the answer myself:

handler = Gmaps.build("Google", { markers: { clusterer: {gridSize: 30, maxZoom: 15} } })

Happy mapping :-)

OTHER TIPS

Claudio look up here

The clusterer_gridSize is available to chage

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top