[Geoprisma-dev] Tilecached layer (jpeg tiles) with scale dependent visibility

Julien-Samuel Lacroix jlacroix at mapgears.com
Fri Sep 3 11:16:35 EDT 2010


Hello,

Did you try with <minscale>10000</minscale> in lowercase in the map 
widget? I suspect it may solve your problem. If seems that the option is 
in lowercase in the map widget and with an uppercase S in the 
mapfishlayertree. :S

Julien

On 10-09-03 10:26 AM, Djoan Bonfils wrote:
> 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
>
>
> _______________________________________________
> Geoprisma-dev mailing list
> Geoprisma-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geoprisma-dev
>

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/



More information about the Geoprisma-dev mailing list