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
{{ message }}
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
I'm having problems using an API key. After loading the library I call $.gmap3({ key: "..." })'.
Sometimes it works sometimes it doesn't. The problem is that the Google API is loaded in the onReady event, but sometimes the onReady event has already fired when the JS loads. Thus the API is loaded before I get to set the key, and I can't set the key before loading the API.
I know this is the cause of the problem because if I move the code that loads the API inside the $.gmap3(), after storing the key, it always works.