On Wed, May 07, 2008 at 06:39:45AM -0700, zenzero-2001 wrote:
>
> Hi,
>
> I would like to implement a special message tile like Google Maps that tells
> the user they have zoomed in too far. The Google Maps tile says something
> like: "We are sorry, but we don't have imagery at this zoom level for this
> region. Try zooming out for a broader look."
>
> I am using OpenLayers with TileCache and MapServer. Does anybody have any
> ideas on how I might be able to accompish this?
OpenLayers.Util.onImageLoadError = function() { this.style.display =
""; this.src="./nodata.png"; }
-- http://www.tilecache.org/demo.html
Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users