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

Était-ce utile?

La solution

Ok, I just found out the answer myself:

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

Happy mapping :-)

Autres conseils

Claudio look up here

The clusterer_gridSize is available to chage

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top