angulargmUtils.getEventHandlers now correctly handles event names with underscores. It'll parse attributes specified as gm-on-center-changed to be the callback for the center-changed event, for example.
angulargmController._listeners is now a hash of listeners, where keys are event names and values are the Google Maps listeners, if there is only one, or an array of listeners, if there is more than one.
gmMap directive now also takes event handlers via gm-on-*event*
Pull request for #16.
This implements Three things:
angulargmUtils.getEventHandlers
now correctly handles event names with underscores. It'll parse attributes specified asgm-on-center-changed
to be the callback for thecenter-changed
event, for example.angulargmController._listeners
is now a hash of listeners, where keys are event names and values are the Google Maps listeners, if there is only one, or an array of listeners, if there is more than one.gmMap
directive now also takes event handlers viagm-on-*event*