Pregunta

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.

¿Fue útil?

Solución

Do this way:

handler = Gmaps.build('Google', { markers: { clusterer: cluterer_options } });
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top