To be honest it sounds like a horrible way to do handle it. Better would be to use a CDN that acts as a reverse (caching) proxy. Then its all seemless.
Or can you maybe setup the CDN, to issue a redirect on 404? That redirect goes to custom handler. On 13 May 2011 12:11, Matt Alonso <[email protected]> wrote: > Hmmm, I would've thought other people would be in a similar > situation. Any help is greatly appreciated. > > On May 10, 10:36 am, Matt Alonso <[email protected]> wrote: > > Hi All, > > > > This might be a rather odd request and I apologize if I missed > > something in the docs somewhere about this. > > > > Is there any way to specify a failover URL if the original one fails > > for a given tile? The use case for something like this would be that > > getTileUrl points to a CDN but if the tile doesn't exist there it > > attempts to use another URL which will generate the tile on the fly. > > > > I could obviously use a prototype and butcher getTileUrl which I have > > zero problem doing, but I thought I would see if a more elegant/ > > optimized implementation already existed. > > > > Thanks > > -- > 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 > [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. > > -- 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 [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.
