[Cartoweb-users] missing legend icon

Oliver Christen oliver.christen at camptocamp.com
Mon Feb 4 03:47:24 EST 2008


which icons doesnt display ? your normal layer icon or the out-of-range icons ?
  ----- Original Message ----- 
  From: Sam Young 
  To: cartoweb-users at lists.maptools.org 
  Sent: Wednesday, January 30, 2008 5:51 PM
  Subject: [Cartoweb-users] missing legend icon


  I am having trouble with my layer list icons and out of range icons.  I found the earlier post about this and tried the code posted, but I still seem to having the same problem.  Here is the code in my layer.tpl file:

  {capture name=icon}
  {if $element.layerIcon}

  <img src="{if $element.layerOutRange > 0}"../projects/sampleproject/htdocs/gfx/layout/nap.png"
  {elseif $element.layerOutRange < 0}"../projects/sampleproject/htdocs/gfx/layout/nap.png"
  {else} "$element.layerIcon"{/if}" alt="" class="pic" />

  {/if}
  {/capture}

  Any help would be greatly appreciated.

  Thanks,
  Sam


------------------------------------------------------------------------------
  Connect and share in new ways with Windows Live. Get it now! 


------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080204/f51e40e6/attachment.html


More information about the Cartoweb-users mailing list