[Geoprisma-dev] Tilecached layer (jpeg tiles) with scale dependent
visibility
Djoan Bonfils
djoan.bonfils at boreal-is.com
Fri Sep 3 10:26:09 EDT 2010
Hello,
I'm trying to make a Tilecached layer (with jpeg tiles) invisible at a
certain scale (when zooming in).
I placed a <minScale>10000</minScale> in
<layer>
<resourcenames>
<resourcename>RS_pngtopo</resourcename>
</resourcenames>
<servicetype>tilecache</servicetype>
<options>
<layername>LYRRS_pngtopo</layername>
<maxextent>584694,8947004,1342974,9702822</maxextent>
<minScale>10000</minScale>
<isbaselayer>false</isbaselayer>
<projection>EPSG:32754</projection>
<singletile>false</singletile>
<transparent>true</transparent>
<buffer>0</buffer>
</options>
</layer>
and in:
<node>
<layername>LYRRS_pngtopo</layername>
<resourcename>RS_pngtopo</resourcename>
<textkey>Topo PNG</textkey>
<minScale>10000</minScale>
</node>
The node is greyed at the desired level but when it was checked before
zooming in, it stays checked after zooming past the minScale...Therefore
the layer is still displayed. Is there a way to not show the layer pas
the desired scale.
Thx
Djoan
More information about the Geoprisma-dev
mailing list