--- layout: api title: "Gmap3 On events" ---
on allows to attach events on the Google Maps objects.
It silently uses addListener or addDomListener depending on the object type (see
This function can be used on two ways:
Keys are the event names to bind. Values are either a handler or an array of handlers
In most case, the attached function takes two parameters:
In clustering case, the attached function takes four parameters: