[OpenLayers-Users] minResolution and maxResolution not working for base layer

Zer hcan at hotmail.com
Tue Jun 10 16:55:32 EDT 2008


Hi List!

I have two wms base layers. I want one of them to be enabled only within a
specific zoom range. This is working for my overlays, but I can not get it
to work for the base layer. For the overlays I just set the properites like
this:

wmsLayer.minResolution = 1.0;
wmsLayer.maxResolution = 10.0;

Is there somthing eles that I have to do to get it working for the base
layer?

-Z
-- 
View this message in context: http://www.nabble.com/minResolution-and-maxResolution-not-working-for-base-layer-tp17764454p17764454.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list