Reputation: 85
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
Upvotes: 0
Views: 457
Reputation: 85
Ok, I just found out the answer myself:
handler = Gmaps.build("Google", { markers: { clusterer: {gridSize: 30, maxZoom: 15} } })
Happy mapping :-)
Upvotes: 3
Reputation: 714
Claudio look up here
The clusterer_gridSize
is available to chage
Upvotes: 0