You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library allows passing the googleMaps object, but it expects it to be a single object in the old format (as loaded by the old inline method). The Bootstrap Loader instead loads each library separately, on demand.
I'm creating this issue to document it if others want or need to switch to the Bootstrap Loader. Ideally this library would support this loading method, or at least document a way around it.
Current solution
I was eventually able to get this to work by creating my own googleMaps object out of the results of two calls to the loader:
Short description
Google now recommends loading the Maps API via the Bootstrap Loader. See: https://developers.google.com/maps/documentation/javascript/overview#Loading_the_Maps_API
This library allows passing the googleMaps object, but it expects it to be a single object in the old format (as loaded by the old inline method). The Bootstrap Loader instead loads each library separately, on demand.
I'm creating this issue to document it if others want or need to switch to the Bootstrap Loader. Ideally this library would support this loading method, or at least document a way around it.
Current solution
I was eventually able to get this to work by creating my own googleMaps object out of the results of two calls to the loader:
In componentDidMount:
Render method:
The text was updated successfully, but these errors were encountered: