Well you can just do... <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE"> </script> <script type="text/javascript"> function initialize() { if (typeof google == "undefined" || typeof google.maps == "undefined") { alert("Google Maps API is down!!") }
Although to be frank the chance of the whole service being totally down is very very small. It will be specific parts that break - ie the API loads, but is not totally functional. Can do tests to check the functioning of the APIs, but doubt will be able to catch all issues Better, maybe just to catch all javascript errors http://ajaxian.com/archives/catching-users-javascript-errors-in-your-server-logs and send them back to a server - where you can log them, and have an alter that watches for a change in error behaviour . On Mon, Apr 16, 2012 at 10:37 AM, Chitransh Shrivastava <getchitra...@gmail.com> wrote: > Hi > > Can any call back be registered to the Google Map Service provider > which will be invoked when the Google map service is down. > > or > > Is there any Map service api which will give Internet connection off, > Google Map service down related error code properly in javascript. > > Please provide me your feedback. > > > Thanks > Chitransh > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to google-maps-js-api-v3@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.