angular-ui / ui-map

Google Maps
http://angular-ui.github.io/ui-map
MIT License
288 stars 93 forks source link

Added callback functionality for ui-map. #40

Open sebastianoe opened 10 years ago

sebastianoe commented 10 years ago

Added the possibility to call an arbitrary scope function after having compiled the ui-map directive. This can e.g. be used to additionally modify or work with the map from within the controller after it has been created. The callback gets the map object as its first parameter. A test for this functionality is included in the specs.