Closed vmortega closed 13 years ago
The clustering default is set to false, so you have to set it to true (see Issue #70):
<%= gmaps("markers" => {"data" => @json, "options" => {"do_clustering" => true}}) %>
I let the ticket open but I fear, there is nothing to deal with the gem.
Hope you could find an answer. Keep us updated!
The error was in the CSS (I used inuit.css framework). I just change the CSS framework to Bootstrap (from Twitter).
Thanks!!
vicoar, did you identify what the error was, or which class was causing it? I am having the same trouble and I'm using Twitter Bootstrap.
The problem was the CSS in the body (or other container of the maps)
body { font-size: 20px; }
I removed that line (using default browser size) and it worked. Also: default borders width and padding.
I see a broken infowindow: http://img811.imageshack.us/img811/6242/maprx.png
Also when i zoom out doesn't see the clustering.
What can I do?
Great gem!
Thanks