I'm started seeing this javascript timeout exception in Google Maps after I updated my iPad to recent iOS5 which wasn't happening in iOS4. Maps will render fine in newly opened Safari browser fine and after I refresh it once it will throws Javascript execution timeout exception whenever I tried to enable/disable the Satellite layer. Some times the issue will happen when I tried to zoom-in or zoom-out with Satellite layer enabled. All these issues will happen only after refreshing the page once.
I've mentioned the exact steps on how to reproduce the issue with the below images. 1. Go to maps.google.com. Allow permission to track the current location when prompted. 2. Enable Satellite layer in Google maps by opening Layers menu and then selecting “Satellite” menu item. We should see the satellite images for the current location (if tracking is enabled for current location). 3. Refresh the web page and enable Satellite layer again. Notice at this point there will be 1 Error displayed in the Debug Console window 4. Check the Javascript execution exception timeout exception in Debug Console window 5. Try to do some other action in Google maps, like Zoom-in / Zoom-Out, or drag to view some other location in the map. At this time there will be huge number of exceptions were thrown in console window and make the maps unusable. 6. Check the debug console showing more timeout exceptions. 7. Refresh the page and see how google maps is not rendering properly anymore. Refreshing page some more times like 5/6 times will make the tab not even show the maps, we will just see plain white screen. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/_8sBJVcnG0sJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
