I&#39;m cross-posting, since I did not get any response on &quot;users&quot; (and obviously, it was not the best place to ask for this)<br>Thank&#39;s,<br><br>F.<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">François Van Der Biest</b> &lt;<a href="mailto:f.vanderbiest@gmail.com">f.vanderbiest@gmail.com</a>&gt;<br>
Date: 16 mai 2008 16:22<br>Subject: Enabling/disabling controls<br>To: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br><br></span>Hi list,<br><br>Currently, OpenLayers controls can be activated/deactivated but not enabled/disabled.<br>
In my mind, a disabled control should not be able to change state, nor being triggered, and its panel button would be grayed out (either in OpenLayers or MapFish panel). <br><br>A simple use case would be the enabling/disabling of&nbsp;the SelectFeature control, based&nbsp;on the presence of features&nbsp;in the vector layer it is attached to.<br>
  <br>I just wanted to have your feedback on this before I write a ticket.<br><br>Thank&#39;s to you all, <br><span class="sg"><br>F.<br></span>