[Cartoweb-users] non available pictures handling ("nap")
Oliver Christen
oliver.christen at camptocamp.com
Wed Nov 7 02:35:24 EST 2007
Hi
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.
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.
regards
Oliver
----- Original Message -----
From: guillaume champlong
To: carto web
Sent: Wednesday, November 07, 2007 8:03 AM
Subject: [Cartoweb-users] non available pictures handling ("nap")
Hi all,
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.
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).
How can I avoid this red cross? Is there a way for displaying no icon for the layers but for the classes?
thanks a lot
G.
------------------------------------------------------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
------------------------------------------------------------------------------
_______________________________________________
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/20071107/730fb083/attachment-0001.html
More information about the Cartoweb-users
mailing list