Thanks for replying Bryan,
min/maxScale isn't working either. It seems like a number of layer
properties are being ignored. I've even tried just setting visibility:
'false' to see what happens and the layer still loads.
I also tried to just do a work around using getResolution and an if
statement, but getResolution always returns null.
if (map.getResolution() < 1)
{vis = 'false'}
else
{vis = 'true'}
mcpiper
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Scale-dependent-layer-problems-tp5295582p5297224.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users