[mapserver-users] Map Not Available at This Scale Image
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Thu Jun 14 13:53:56 PDT 2012
Couple of options.
1) You can create a layer that displays that text in the middle of the map and have it turn on below a certain scale. If doing tiling w/meta-tiling you'd want draw the text the same number of times as you have meta-tiles. That would take some mucking about but it's doable.
2) There's a little used parameter in the WEB section called MINTEMPATE/MAXTEMPLATE. MapServer will redirect to the URL specified depending on scale. It's been ages since I used it but in theory you could reference an image with the necessary text by URL.
Steve
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Donald Kerr
Sent: Thursday, June 14, 2012 1:42 PM
To: 'MAPSERVER USERS'
Subject: [mapserver-users] Map Not Available at This Scale Image
Hi list,
I have a number of layers that are on or off depending on the zoom level and some of those layers do not have coverage in certain areas. The question is, is there a way to display a map image saying something along the lines of, "Map not available at this level"?
I think I have read somewhere that it can be done in a round about way but I cannot find any information after having a good internet trawl.
Many thanks.
Regards,
Donald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120614/00013e34/attachment.htm>
More information about the MapServer-users
mailing list