Hey,

I am trying to set the minScale or maxScale of a layer using addOptions after 
it has been added to the map and drawn.

However, with the current code of initResolutions, alwaysInRange is not updated 
unless it's null [1], which is preventing my options to have any effect.

Is this to be expected?

[1] 
https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Layer.js#L861

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to