You can have 2-level structure:
categories
+ groups
multiple layers can form a group but not visible to the user. Categories are
currently only for thematic ordering, you cannot switch on/off all groups of a
category at one click. I'll put that in a future version since I found now a
way to have it appearing logical and not too confusing to me.
More levels than this structuring have to be developed by yourself because I
find it way too complex to understand and I'm not planning to implement it.
Since the whole layer/TOC/legend display is quite separate from the map
display, the only thing you will have to modify is the list of groups/layers
you want to display (using the setLayers() function in mapserver.js and update
the session variable for that. How you get that list is up to you.
armin
-------- Original-Nachricht --------
Datum: Thu, 30 Nov 2006 11:35:03 +0100
Von: "Nuria González" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: [pmapper-users] categories in legend
> Hi,
>
> In the legend, I want to have a hierarchy of categories (subcategory). Is
> it
> possible with pmapper? I think it isn't possible.
> For example, I would like to display:
> - Geographic elements (category)
> - Rivers (subcategory)
> - Principal rivers (layer)
> - Secundary rivers (layer)
>
> Could it be an future feature in pmapper?
>
> Thanks.
>
> _________________________________________________________________
> Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
> increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
> http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users