question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Event: Know when map is ready

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:10
  • Comments:6

github_iconTop GitHub Comments

2reactions
hamzash750commented, Jun 7, 2018

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");

}

0reactions
mmschulercommented, Oct 25, 2017

update. nvm caching probs ^^ sry

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I check whether Google Maps is fully loaded?
The "idle" event is triggered when the map goes to idle state - everything loaded (or failed to load). I found it to...
Read more >
Event: Know when map is ready · Issue #740 - GitHub
For this reason, I propose to add a new event to SebmGoogleMap. The event gets emitted when the map is ready. $event i......
Read more >
Events | Maps JavaScript API - Google Developers
This page describes the user interface events and error events that you can listen for and handle programmatically. User Interface Events.
Read more >
Google Maps Events - W3Schools
Now we want to zoom when a user is clicking on the marker (We attach an event handler to a marker that zooms...
Read more >
Event to notify when map has moved positioned with...
I am using the ArgGIS Javascript API v3.5. I have a map displayed in my browser, but it does not take up the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found