-
Couldn't load subscription status.
- Fork 64
Open
Description
I am migrating a site to web components and there are parts of our site with libraries that I can't swap over immediately. To this end, we already have Google Maps loading in the site.
The problem is that the google-maps-api doesn't check or have any way to not reload the API if it already exists in the site.
At the top of _computeUrl if you put in:
if (google && google.maps) { return null; }
It would be much better to have a method to indicate that a google.maps library is already loaded and to just use that. I think that is better than making a duplicate instance of google-maps and the other.
Metadata
Metadata
Assignees
Labels
No labels