Thanks Andrew. I'm not using it in a browser, but in a standalone mobile app. I was hoping there was something I could do to trigger a response header indicating error etc., but it doesn't seem that way. I think my best bet is to check the size of the response against the known error images.
On Jun 29, 5:56 am, Andrew Leach <[email protected]> wrote: > On Jun 28, 7:32 pm, Kal <[email protected]> wrote: > > > I'm developing a mobile app (blackberry) that is making use of the > > static maps API. I've found during testing that a few situations can > > generate error responses. If I request images too quickly I get a > > speedometer type image.. If I request an image zoomed into the Pacific > > it's just a blank white image.. I was just wondering if there's a way > > to tell that there is a problem with the response so I can take some > > action other than just displaying the error response image. > > The image is just an image, displayed using an <img> tag in the code. > As far as the browser is concerned, an image has been served and it > displays it. > > If the browser you're using can cope with Javascript, you may be able > to do some processing before requesting the static map image, just to > make sure that the image you get is likely to be useful. But static > maps are designed to be used in situations where Javascript isn't > available. > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
