MapTools.org

[Chameleon] legend and context questions

Debbie Pagurek pagurekd@agr.gc.ca
Wed, 10 Mar 2004 17:33:49 -0500
This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_311033C1.5B3A5482
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

OK - now I have the most recent chameleon and mapserver versions
installed properly and the correct documentation to go with it - Thank
you Paul.
I have a lot working but am having trouble seeing a legend.  I have
tried the following tags for either an embedded legend:
<cwc2 type="LegendTemplate" visible="true" embedded="true"
template="legend_template.html" popupwidth="500" popupheight="400"
status="false" menubar="false"/>

nothing shows.

or a popup:
<cwc2 type="LegendTemplate" styleresource="TextButton" embedded="false"
template="legend_template_widget.html" PopupWidth="350"
PopupHeight="300" Toolbar="false" Status="false" Menubar="false"
Location="false" Visible="true" Image="images/icon_legend.png"
ImageTip="Display Legend" LABEL="Legend">
   <image state="normal"/>
   <image state="selected"/>
   <image state="hover"/>
</cwc2>

the popup simply says " The legend displays the layers in your map. "
but I see no legend.

Also, I tried to save a context map.  My mapfile is set up to serve wms
layers, and I know the wms getmap request works.
However, when I click on my "save" button, I get a message that says:
There are no WMS Layers to export. 

I don't think anything is wrong with my mapfile...
anyone have any suggestions?

Thanks,
Debbie

--=_311033C1.5B3A5482
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>OK - now I have the most recent chameleon and mapserver versions installed 
properly and the correct documentation to go with it - Thank you Paul.</DIV>
<DIV>I have a lot working but am having trouble seeing a legend.&nbsp; I have 
tried the following tags for either an embedded legend:</DIV>
<DIV>&lt;cwc2 type="LegendTemplate" visible="true" embedded="true" 
template="legend_template.html" popupwidth="500" popupheight="400" 
status="false" menubar="false"/&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>nothing shows.</DIV>
<DIV>&nbsp;</DIV>
<DIV>or a popup:</DIV>
<DIV>&lt;cwc2 type="LegendTemplate" styleresource="TextButton" embedded="false" 
template="legend_template_widget.html" PopupWidth="350" PopupHeight="300" 
Toolbar="false" Status="false" Menubar="false" Location="false" Visible="true" 
Image="images/icon_legend.png" ImageTip="Display Legend" 
LABEL="Legend"&gt;<BR>&nbsp;&nbsp; &lt;image state="normal"/&gt;<BR>&nbsp;&nbsp; 
&lt;image state="selected"/&gt;<BR>&nbsp;&nbsp; &lt;image 
state="hover"/&gt;<BR>&lt;/cwc2&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>the popup simply says "<!--StartFragment --> The legend displays the layers 
in your map. " but I see no legend.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Also, I tried to save a context map.&nbsp; My mapfile is set up to serve 
wms layers, and I know the wms getmap request works.</DIV>
<DIV>However, when I click on my "save" button, I get a message that says: <SPAN 
class=label>There are no WMS Layers to export.</SPAN> </DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't think anything is wrong with my mapfile...</DIV>
<DIV>anyone have any suggestions?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Debbie</DIV></BODY></HTML>

--=_311033C1.5B3A5482--


This archive was generated by Pipermail.