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
Not sure what the implementation should look like. But it would be useful to know if they key is valid or not and allow a different code path in the application.
The text was updated successfully, but these errors were encountered:
// Promiseloader.load().then((google)=>{newgoogle.maps.Map(document.getElementById("map"),mapOptions);}).catch(e=>{// do something});
I'd usually expect that errors from "bad keys" can be caught here. I need such validation logic as I'm letting my users input their own keys for testing purposes.
Is there even a way to validate maps api keys? I have not found anything in the docs.
Not sure what the implementation should look like. But it would be useful to know if they key is valid or not and allow a different code path in the application.
The text was updated successfully, but these errors were encountered: