damuz91
damuz91

Reputation: 1748

Gmaps4rails : Clustering not working?

Since Gmaps4rails updated to 1.5 the clustering option has been set to false by default. The documentation says that :do_clustering its the way to show clusters on flooding markers.

In code i´ve got:

    <%= gmaps(:markers => {:data => @json}, :map_options => {:do_clustering => true}) %>

Edit: And of course it is supported

But clusters still not showing. Any thoughts?

Upvotes: 3

Views: 688

Answers (1)

apneadiving
apneadiving

Reputation: 115541

Just realized:

You're passing do_clustering as a map option whereas it's a marker option.

Upvotes: 4

Related Questions