jbdemonte / gmap3

jQuery plugin to create Google maps
http://gmap3.net
668 stars 198 forks source link

Add cluser #97

Closed pawelbrachaczek closed 8 years ago

pawelbrachaczek commented 8 years ago

Hi again,

It is possible to add cluster to all markes on map (not create markers with cluser)?

jbdemonte commented 8 years ago

Can you explain what you're looking for, Maybe you're looking for the cluster.add feature on http://gmap3.net/api-cluster.html If so, have a look on the example: https://github.com/jbdemonte/gmap3/blob/master/dist/examples/cluster-add.html

pawelbrachaczek commented 8 years ago

Yes, add() was just what I was looking for, thank You:)

Another question: Can I add click event to cluster and block click on the map, like stopPropagation()?

jbdemonte commented 8 years ago

the event is provided in the function arguments, so you should can