Conditional "Legends"
Doug Nebert
ddnebert at usgs.gov
Thu Nov 4 10:57:38 PST 1999
I have a series of base maps that are being used to present a
world to local view. At different levels of zoom (or surrogate
scale) I would like to display different items in the legend
as declared in the _template.html file. It would seem that a
scale variable could be accessible to JavaScript based on the
current extent, yes?
Thus I would not even show roads as an option on a global
view and could switch layers and labels at a high level of
zoom. I need to not use Zoom level but the derived scale
being used for the current image.
Example javaScript solutions appreciated!
--
Douglas D. Nebert
Clearinghouse Coordinator
FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755
Pager Messaging: http://fgdclearhs.er.usgs.gov/dougmsg.html
More information about the MapServer-users
mailing list