[OpenLayers-Users] minScale maxScale doesn't work
vrbikdan
vrbikdan at gmail.com
Sat Jan 21 14:25:49 EST 2012
Hi,
I'm trying to set min and max scale for layer. I used this part of code:
kontiky_layer = new OpenLayers.Layer.GML("GML",
"kontikyVrstva/kontikyFinalGML.gml", {projection: map.displayProjection,
styleMap: styleKontiky},{minScale: 60000, maxScale: 10000})
But unfortunately layer is still visible in all scales. Whole map with code
is here: http://vrbikdan.xf.cz/kontiky/kontiky.html
http://vrbikdan.xf.cz/kontiky/kontiky.html . Can you tell me what is wrong?
Thanks,
Dan
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/minScale-maxScale-doesn-t-work-tp7211677p7211677.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list