googlemaps / googlemaps/extended-component-library
Can we get an event for when gmpx-api-loader is done loading?
Open
triage me
type: feature request
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 22
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 8
Description
Can we get an event fired when gmpx-api-loader is done loading "maps" and other libraries? Currently there's no way to implement a "initMap" type function reliably.
For example, on Safari, once the page is cached, the window.load event fires before the Google Maps library is finished loading/initializing. As such, I cannot access google.maps.* functions.
I had to resort to polling (yuck!) for now.
Contributor guide
Assessment
This issue has not been assessed yet.