[Chameleon] LegendTemplateLayerInfo()

Robin Brown rbrown at unb.ca
Fri Oct 15 10:11:12 EDT 2004


Yes, I did get this far but I still don't see where the variables are assigned.  In the
chameleon bilingual sample, when you click on the layer name, a popup appears with
layer information.  I have only figured out how to fill a few of these fields (name,
title, abstract) but I would like to fill some others.  Especially the metadataURL.  Do
you know how to do this?  I think I just need to know what variable to use in my map
file.  Is there a list somewhere?



Quoting Paul Spencer <pspencer at dmsolutions.ca>:

> Robin,
> did you ever get an answer to this?  The function is defined in 
> LegendTemplate.widget.php and it launches LayerInfo.phtml from the same 
> place.
> Cheers,
> Paul
> Robin Brown wrote:
> > Hi all,
> > 
> > In some of the Chameleon samples, in the legend template there is the line
> > <a href="#"
> onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');">[metadata
> > name=WMS_TITLE]</a>
> > 
> > Does anyone know where the "LegendTemplateLayerInfo('[leg_layer_name]')" function
> is
> > found?  I have looked through the various legend widgets but I couldn't find it. 
> This
> > is somewhat of an extension of my question yesterday as I am still trying to find
> where
> > to fill the rest of the fields in the popup that this onclick event creates. 
> Thanks
> > 
> > 
> > Robin
> > 

NB Aquatic Data Warehouse
Canadian Rivers Institute
University of New Brunswick
Hugh John Fleming Forestry Complex
Sir James Dunn Wildlife Research Center
Room 263
1350 Regent Street
Fredericton, NB
E3C 2G6

Phone:    (506) 458-7557
Email:     rbrown at unb.ca

More information about the Chameleon mailing list