On Oct 4, 12:43 pm, PsichiX <[email protected]> wrote: > Hello, i'm making application that use google maps and I want to check > if given fragment of map is not available to view, how I can do this? > My first thought was: maybe i will load image first and then check MD5 > checksum of downloaded image, then compare it to checksum of "sorry, > we have not imagery here" image and if both will be equal, then > function will fail. > But there is problem that I want to not doing this (lower transfer, > etc.), but I need to check it before I will load image.
You can only know that the image won't be there if you try and download it. Well, you can use getMaximumResolution, but that requires a request/data round-trip, so you might as well just load the tile anyway and then act on a failure. http://groups.google.com/group/google-maps-api/browse_thread/thread/3651e0961fdfd838 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. 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-api?hl=en.
