google-maps-react icon indicating copy to clipboard operation
google-maps-react copied to clipboard

onError event handler?

Open darktasevski opened this issue 6 years ago • 3 comments

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.

darktasevski avatar Jul 11 '18 18:07 darktasevski

Still nothing on this one? Is this library no longer supported?

codeman27 avatar Oct 17 '18 22:10 codeman27

Don't think so. I've switched to this lib for Google maps: https://github.com/google-map-react/google-map-react

darktasevski avatar Oct 19 '18 17:10 darktasevski

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.

meliborn avatar Aug 27 '21 09:08 meliborn