<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>an easy solution is to make 2 copy of your blank.png file and
name them nap.png and nam.png. Put them at the same place as the other
icons.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>you can also try to touch up the layers.tpl where you have
$element.nextscale and so for the icon handling, but that may be a bit
tricky.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=goutosig@yahoo.fr href="mailto:goutosig@yahoo.fr">guillaume
champlong</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">carto web</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 07, 2007 8:03
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] non available
pictures handling ("nap")</DIV>
<DIV><BR></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Hi all,<BR><BR>In a CW3 project, I have mapfile layers containing classes
; my legend is "tree"-like, and the point is that I would like to display an
icon legend only for the classes, not for the layers.<BR>In order to do this,
I first specified a blank.png file for my layers, which is a small white
picture, in the layers.ini file. But when I'm outside the visible scale
boundaries, the application doesnot display this white png file, so I have a
very nasty red cross which is the way internet explorer handles "nap" (firefox
simply ignores).<BR>How can I avoid this red cross? Is there a way for
displaying no icon for the layers but for the classes?<BR><BR>thanks a
lot<BR>G.</DIV></DIV><BR>
<HR SIZE=1>
Ne gardez plus qu'une seule adresse mail ! <A
href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</A> vers Yahoo!
Mail
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>