[OpenLayers-Dev] Fwd: Enabling/disabling controls

Christopher Schmidt crschmidt at metacarta.com
Tue May 20 07:51:32 EDT 2008


On Tue, May 20, 2008 at 09:10:15AM +0200, François Van Der Biest wrote:
> I'm cross-posting, since I did not get any response on "users" (and
> obviously, it was not the best place to ask for this)
> Thank's,

In general, this sounds fine to me; I thought I responded at the time,
sorry I didn't actually follow through.

-- Chris

> F.
> 
> ---------- Forwarded message ----------
> From: François Van Der Biest <f.vanderbiest at gmail.com>
> Date: 16 mai 2008 16:22
> Subject: Enabling/disabling controls
> To: users at openlayers.org
> 
> Hi list,
> 
> Currently, OpenLayers controls can be activated/deactivated but not
> enabled/disabled.
> 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).
> 
> A simple use case would be the enabling/disabling of the SelectFeature
> control, based on the presence of features in the vector layer it is
> attached to.
> 
> I just wanted to have your feedback on this before I write a ticket.
> 
> Thank's to you all,
> 
> F.

> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list