On Feb 16, 12:46 pm, Ammorth <[email protected]> wrote:
> <http://dl.dropbox.com/u/11896898/oahu%20exmaple.jpg>
> The picture included is a schematic of my map (divided into 512 piece tiles)
> at the highest zoom.  

Pictures are not useful.  Please read the posting guidelines.

> The purple shaded areas are tiles which contain only
> water.  To reduce bandwidth, I would like to have all of those tiles load a
> single default image instead.  I can't do a check inside my getTileUrl
> function to see if the tile is a purple tile, as they don't follow a pattern
> easy to check (hence the switch statement).  Hence my problem.
>
> I did a search on these forums and someone had a similar issue.  They solved
> it by having the server return a different image via the 404 error
> protocol.  I am not a webmaster, nor do I have a vast knowledge of internet
> re-directs and what-not.  My issue with the 404 error is that the map would
> be on the same server as the rest of the site.  So if someone were to 404
> while browsing the site, they would be redirected to the default tile, would
> they not?
>
> I am really hoping there is a way to do this within the javascript code.

That was what I suggested.

  Larry

>
> Thanks,
>
> Ammorth

-- 
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.

Reply via email to