Domanda

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

È stato utile?

Soluzione

Ok, I just found out the answer myself:

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

Happy mapping :-)

Altri suggerimenti

Claudio look up here

The clusterer_gridSize is available to chage

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top