turn layer labels on and off dynamically
Gregor Mosheh
gregor at HOSTGIS.COM
Tue May 29 21:35:29 PDT 2007
> Ooops, that does not quite work the way you are expecting it to. color
> -1 -1 -1 means transparent. so you are rendering the labels but they are
> just transparent. Since you are rendering the labels, it takes cpu time
> and it might bump other labels out of the cache. I don't think you
> really want to do this.
Hey, you're right. I'm glad I mentioned this!
You're right, set the labelmaxscale to 1 or some such would be even better.
--
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/
"Remember that no one cares if you can back up,
only if you can restore." - AMANDA
More information about the MapServer-users
mailing list