[OpenLayers-Users] minScale maxScale on layer

Bill Thoen bthoen at gisnet.com
Wed Apr 15 16:53:59 EDT 2009


There's a good description on that subject right here:
http://trac.openlayers.org/wiki/SettingZoomLevels

- Bill Thoen

toni hernández wrote:
> Does anyone know if it is possible to set the minscale and maxscale on 
> a layer so it shows and hides depending on the scale of the map.
>
> If tried to specify minScale:100, maxScale: 5000 (so the layer appears 
> between the two scales) on the layer but the layer is still always 
> visible.




More information about the Users mailing list