• Use GEvent.addListener to register listeners
    • First argument is the source of events
    • Second is the name of the event
    • Last one is the event handler
  • Event types
    • Mouse events: click, mouseout, …
    • Map events: movestart, moveend, …