Repository navigation
Event handlers
bobmazanec edited this page Dec 13, 2014
·
4 revisions
To add an events handler you can use google.maps.event.addListener handler.getMap(), f.
Example:
handler = Gmaps.build("Google")
handler.buildMap provider: {}, internal: { id: "map" }, ->
google.maps.event.addListener handler.getMap(), 'bounds_changed', ->
console.log(handler.getMap().getBounds().getNorthEast().toString())