[Chameleon] Tree legend structure

Gambin Dejan Dejan.Gambin at pula.hr
Tue Feb 7 09:17:06 EST 2006


This looks great. I am interesting in such solution too. And now it
makes me think - can I use XMLThemeLegend only for showing/activating
the group/layer tree structure and also use the "ordinary" HTML legend
beside that? Like on this site....

dejan

> -----Original Message-----
> From: Matthew Edmondson [mailto:matt0177 at gmail.com] 
> Sent: Tuesday, February 07, 2006 2:52 PM
> To: Gambin Dejan
> Cc: Roland Martin; chameleon at lists.maptools.org
> Subject: Re: [Chameleon] Tree legend structure
> 
> 
> There is a perfect example located at 
> http://www.humboldtbay.org/gis/interactive_entrance.html
> 
> It doesn't have icons but I think that the cleanness and the 
> amount of data you can put in a small space make up for it. 
> Is there anyone out there who has done something similar to 
> this in a way that is sharable?
> 
> Matt
> 
> On 2/7/06, Gambin Dejan <Dejan.Gambin at pula.hr> wrote:
> > You are right I suppose. I like XMLThemeLegend but I need 
> to use the 
> > mapserver generated icons because I have many different 
> layers/classes 
> > and it has no sense to manually create legend icons for 
> each of them. 
> > I have managed to use some code I found on the Net form 
> Paul Spencer 
> > and Edith Taki so I am trying to do the tree structure with 
> toggling 
> > group/layer checkboxes, etc. It is still not working as it 
> should but 
> > I hope I will manage it...
> >
> > thanks, dejan
> >
> > -----Original Message-----
> > From: Roland Martin [mailto:roland.w.martin at gmail.com]
> > Sent: Tuesday, February 07, 2006 2:01 PM
> > To: Gambin Dejan
> > Subject: Re: [Chameleon] Tree legend structure
> >
> > Hi Dejan,
> >
> > No, we haven't yet. I would like  to add something like 
> that, but the 
> > trouble is the JS code for dealing with forms never seems 
> to work on 
> > all browsers in the same way!
> >
> > r.
> >
> >
> >
> > On 07/02/06, Gambin Dejan <Dejan.Gambin at pula.hr> wrote:
> > >
> > > Thanks Roland,
> > >
> > > Did you maybe implement some Javascript functions to deal with 
> > > toggling
> > the checkboxes, etc.?
> > >
> > > dejan
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Roland Martin [mailto:roland.w.martin at gmail.com]
> > > Sent: Tuesday, February 07, 2006 11:02 AM
> > > To: Gambin Dejan
> > > Subject: Re: [Chameleon] Tree legend structure
> > >
> > > Hi Dejan,
> > >
> > > There are several bits you can add to normal legends which do 
> > > similar
> > things - ours have  things like [leg_group_html] and 
> [leg_layer_html 
> > order_metadata=WMS_ORDER opt_flag=15] in addition to the normal 
> > [leg_layer_html] - you do lose the functionality of the XML legend 
> > though.
> > >
> > > r.
> > >
> > >
> > >
> > > On 04/02/06, Dejan Gambin <dejan.gambin at pula.hr> wrote:
> > > > Hi,
> > > >
> > > > I have already asked a similar question. I would like 
> to have the 
> > > > "tree" like legend with checkboxes for 
> activating/deactivating the 
> > > > layers,
> > grouping
> > > > possibilities (preferably customizable and independent of 
> > > > group/layer settings in map file, etc.). I know the 
> XMLThemeLegend 
> > > > offers such a possibilities but I would also like to 
> use mapserver 
> > > > generated legend
> > icons
> > > > (at the class and layer level) that XMLThemeLegend can't do.
> > > >
> > > > Has anyone implemented something similar so I can reuse 
> the code 
> > > > or just
> > get
> > > > some help on implementation?
> > > >
> > > > thanks very much
> > > >
> > > > dejan
> > > >
> > > >
> > > > _______________________________________________
> > > > Chameleon mailing list
> > > > Chameleon at lists.maptools.org 
> > > > http://lists.maptools.org/mailman/listinfo/chameleon
> > > >
> > >
> > >
> > >
> > > --
> > > Please note my new email address. Use other addresses at 
> your peril.
> >
> >
> >
> > --
> > Please note my new email address. Use other addresses at 
> your peril. 
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org 
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> >
> >
> 



More information about the Chameleon mailing list