<br><br>On Wednesday, April 11, 2012, Bart van den Eijnden wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Another related question to my previous post.<div>
<br></div><div>So I've worked around the previous issue by clearing alwaysInRange before calling addOptions.</div><div><br></div><div>Then when I pass in minScale and maxScale options to addOptions that effectively will make the layer be out of scale, nothing happens, even after calling redraw.</div>
<div><br></div><div>Am I missing something here? Why is the layer not turned off in this case, it only happens if I don't call redraw and manually pan the map.</div></div></blockquote><div><br></div><div><br></div><div>
<br></div><div>Do you use redraw(true)?<span></span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"></div></blockquote><br><br>
-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com">http://www.camptocamp.com</a><br><br>