Event: Know when map is ready
Many of you want easy access to the native Map instance and want to know when the map is ready for further operations.
For this reason, I propose to add a new event to SebmGoogleMap. The event gets emitted when the map is ready. $event is the actual native map instance:
<sebm-google-map (mapReady)="doSomething($event)"></sebm-google-map>
Please leave your opinion below. Thanks!
go for it!
This feature would be really cool. :)
:+1: Awesome!
Not firing, can anyone confirm that is working ?
update. nvm caching probs ^^ sry
Working Fine Just change the function name In html like <agm-map (mapReady)="mapLoad($event)"> In type script file protected mapLoad(map) {
console.log("Map Ready");
}