google-maps-react
google-maps-react copied to clipboard
onError event handler?
Is there any way to catch errors when google map is not loaded? I'm trying to make the offline version of the app to display the offline page instead of google map, but I'm stuck at loading screen. There is uncaught in promise error in console, but my componentDidCatch
is not catching it...
Any suggestions on how to handle this scenario are welcome, thanks in advance.
Still nothing on this one? Is this library no longer supported?
Don't think so. I've switched to this lib for Google maps: https://github.com/google-map-react/google-map-react
Don't think so. I've switched to this lib for Google maps: https://github.com/google-map-react/google-map-react
Couldn't find onError event there too.