Reputation: 426
This is my javascript :
handler = Gmaps.build('Google');
handler.buildMap({ provider: {scrollwheel: false, navigationControl: false, mapTypeControl: false, scaleControl: false,
draggable: false, streetViewControl: false, scrollwheel: false, zoomControl: false, disableDoubleClickZoom: true, overviewMapControl: false}, internal: {id: 'map'}}, function(){
markers = handler.addMarkers(#{raw @hash.to_json});
handler.bounds.extendWith(markers);
handler.fitMapToBounds();
});
Where in this code should I put isZoomOnclick(), or zoomOnclick() options? All search restults that I've done doesn't give me this, if someone finds out please help!
Thanks.
Upvotes: 0
Views: 158
Reputation: 115541
Do this way:
handler = Gmaps.build('Google', { markers: { clusterer: cluterer_options } });
Upvotes: 1