[Chameleon] Enhanced widget pack

Joel Rivard jrivard at connect.carleton.ca
Wed Jun 16 13:36:41 EDT 2004


Paul,

I checked in the WMS HOW TO? documentation and found no WMS tags that 
displays the Metadata URL (the one you specified wasn't correct as you 
mentionned).  I have found others that are proving to be useful for my 
application, but none that allowed me to show the Metadata URL.

Does anybody know this WMS tag?

Joel


Paul Spencer wrote:


>Joel,
>
>The popup is provided by the LegendTemplate widget, the code for the 
>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml
>
>The popup was designed to show information about WMS layers.  In 
>particular, the abstract and metadata urls from WMS layers are normally 
>recorded as metadata on the layer.  I don't think the widget cares if 
>the layer is WMS or not, but it will look specifically for:
>
>METADATA
>   "wms_abstract" "the abstract for this layer"
>   "wms_metadataurl" "not sure if this is right, check the WMS howto :)"
>END
>
>So the quick fix would be to modify your map file to add this 
>information.  If you are not happy with the layout, you could also edit 
>this file to get exactly what you want.
>
>Cheers,
>
>Paul
>
>Joel Rivard wrote:
>
>> Hi list,
>> 
>> I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as 
a 
>> sample app.  I've added my own map file to show some local data and 
was 
>> wondering how to add some info upon clicking on the themes in the 
>> legend.  When I click on any given layer, it only gives me the "layer 
>> name" and "layer title".  I'd like to add an abstract as well as an 
URL 
>> to the Metadata.  I'm not sure if this feature has to be set in the 
>> mapfile or if its an XML file that is controling this.
>> 
>> Can anybody point me in the right direction,
>> 
>> Thanks,
>> 
>> Joel
>> _______________________________________________
>> Chameleon mailing list
>> Chameleon at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/chameleon
>> 
>
>-- 
>  -----------------------------------------------------------------
>|Paul Spencer                           pspencer at dmsolutions.ca   |
>|-----------------------------------------------------------------|
>|Applications & Software Development                              |
>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
>  -----------------------------------------------------------------
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>


More information about the Chameleon mailing list