zener79
zener79

Reputation: 85

gmaps4rails v2 and MarkerClusterer

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

Answers (2)

zener79
zener79

Reputation: 85

Ok, I just found out the answer myself:

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

Happy mapping :-)

Upvotes: 3

edudepetris
edudepetris

Reputation: 714

Claudio look up here

The clusterer_gridSize is available to chage

Upvotes: 0

Related Questions