<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    On 11/01/2011 12:24 PM, <a class="moz-txt-link-abbreviated" href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a> wrote:
    <blockquote
cite="mid:OF85642629.556DFAA4-ON85257815.005F0C2B-85257815.005F9C3E@isn.rtss.qc.ca"
      type="cite">
      <br>
      <font face="sans-serif" size="2">Hi,</font>
      <br>
      <font face="sans-serif" size="2">In my mapfile I have a layer
        defined
        as a external WMS layer (CONNECTIONTYPE WMS, .....)</font>
      <br>
      <br>
      <font face="sans-serif" size="2">I use KEYIMAGE to set the icon in
        my
        geoext legend.</font>
      <br>
      <font face="sans-serif" size="2">For a layer the legend is complex
        and
        the icon is very small. is it possible to change the size of a
        KEYIMAGE?</font>
      <br>
      <br>
    </blockquote>
    &nbsp;assuming you are calling mapserver cgi with mode=legend, you can
    change the keysize parameter by doing something like:<br>
    &nbsp; <a class="moz-txt-link-freetext" href="http://.../mapserv?..&amp;map.legend=keysize">http://.../mapserv?..&amp;map.legend=keysize</a> 100 100<br>
    <blockquote
cite="mid:OF85642629.556DFAA4-ON85257815.005F0C2B-85257815.005F9C3E@isn.rtss.qc.ca"
      type="cite"><font face="sans-serif" size="2">Also, is it possible
        to use a getLegendGraphic
        request to get the legend icon instead of using KEYIMAGE (it
        seems that
        we cannot provide a url with KEYIMAGE)?</font>
      <br>
      <br>
    </blockquote>
    &nbsp;I think it should work from what I can see. It should use your
    keyimage and respect the&nbsp; width/height parameters sent with the <font
      face="sans-serif" size="2">getLegendGraphic request.<br>
      <br>
    </font>
    <blockquote
cite="mid:OF85642629.556DFAA4-ON85257815.005F0C2B-85257815.005F9C3E@isn.rtss.qc.ca"
      type="cite"><font face="sans-serif" size="2">Does KEYIMAGE is the
        appropriate solution?</font>
      <br>
      <font face="sans-serif" size="2">thanks for your help,</font>
      <br>
      <font face="sans-serif" size="2">Steve</font>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: <a class="moz-txt-link-abbreviated" href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>    
<a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a>

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------

</pre>
  </body>
</html>