Hi, I have 2 layers and one is available (min-maxscale) from scale 1000 to 200000 and the other from 200000 to 400000 (sat and aerial photos).<br>If the user changes the active layer from one to the other, the map becomes white (correctly since actual scale is not permitted for the other layer) but I&#39;d like to tell user that the scale is not available for this layer.<br>

<br>For example disabling the layer from layer chooser if the actual scale is not allowed for it<br>or by switching to layer&#39;s nearest allowed scale<br>or by auto-switching back to the other layer and launching an alert();<br>

<br>How to do that?<br><br>thank you<br>alberto<br>