[OpenLayers-Users] Scale dependent layer problems
mcpiper
mcpiper at rocketmail.com
Thu Jul 15 08:59:01 EDT 2010
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.
More information about the Users
mailing list