[Chameleon] maptips and layer visible?
Bart van den Eijnden (OSGIS)
bartvde at xs4all.nl
Mon Jan 16 11:58:05 EST 2006
does anybody have a problem if I add a condition to the maptips widget
that it does not generate the imagemap when the layer used is not
visible? It does not make much sense IMHO to have the image map without
the layer visible.
if ($oLayer == null || $oLayer->isVisible() == MS_FALSE)
Btw Jason, your approach worked fine for having a Maptips layer in the
map by default. Thanks.
Bart van den Eijnden
OSGIS, Open Source GIS
More information about the Chameleon