What you receive is a valid image with the content "No imagery blabla". In your client side you cannot know that isn't a 'valid' one.
On Tue, Jul 1, 2008 at 4:29 PM, czieler <[EMAIL PROTECTED]> wrote: > > I've been looking around through the forums and other places, and I am not > sure this is even possible, but I thought I'd see if anyone has found a way > to do this. > > I was hoping to find a way to catch the Google 'No imagery is available at > this zoom level' message, and then tell my open layers map to zoom back out > until it reaches a zoom level where there is imagery. I know there isn't a > way to tell what the highest zoom level for a coordinate is, and that Google > returns images with the error, but I wasn't sure if an error might be thrown > somewhere as well, which I could check for? > > > -- > View this message in context: > http://www.nabble.com/Catching-the-%27no-imagery-at-this-zoom-level%27-before-it-displays--tp18216417p18216417.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- Cheers, Christian López Espínola <penyaskito> _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users