[Mapserver-users] Q: Dynamic Legends
Martin, Daniel A
Daniel.A.Martin at erac.com
Thu Jan 29 12:29:42 PST 2004
Do you mean layers that are on, and within range, but are not visible
because of your current location? I don't believe that is possible.
However, the default is to hide layers that are not visible or have a
status of OFF. However, if you have layers that have a status of
DEFAULT, then those are going to show no matter what.
Am I misunderstanding you?
-Dan
> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of
> Jean-Henry Berevoescu
> Sent: Thursday, January 29, 2004 1:16 PM
> To: mdoggett at coas.oregonstate.edu
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] Q: Dynamic Legends
>
>
>
> I tried that one and all the possible combinations (and their
> sum). Nothing works.
>
> Thanks,
> Jean
>
>
> Matt Doggett wrote:
>
> >I believe HTML legends will do the trick. In the
> legend_template.html
> >file you could specify [leg_class_html opt_flag=12] for example. see
> >the HTML legend How-To for more details about the opt_flag bit mask.
> >
> >http://mapserver.gis.umn.edu/doc40/html-legend-howto.html
> >
> >MD
> >
> >
> >
> >>-----Original Message-----
> >>From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-
>>admin at lists.gis.umn.edu] On Behalf Of Jean-Henry Berevoescu
>>Sent: Wednesday, January 28, 2004 8:12 PM
>>To: mapserver-users at lists.gis.umn.edu
>>Subject: [Mapserver-users] Q: Dynamic Legends
>>
>>
>>Hi,
>>Is there a way to have the legend dynamically show only the classes of
>>
>>
>a
>
>
>>layer actually
>>shown in a map (not the whole defined set in the mapfile)?
>>
>>Jean
>>
>>_______________________________________________
>>Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>
>>
>
>
>
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list