[OpenLayers-Users] one control panel - mixed control types - how to disable all others

karsten karsten at terragis.net
Thu Sep 20 23:51:11 PDT 2012


Hi All,
 
I am not sure  if it expected behavior if you have a panel with multiple
controls, some Type 'Button' plus others such as Control.MeasureNew and
Control.MouseDefaults that the last two deactivate once the other is
clicked, but the button type controls won't deactivate then ?
For example when the user clicks son the 'MouseDefaults ' control then
'MeasureNew ' is deactivated (if it was active previously) , however
clicking on any of the button type controls does not deactivate 'MeasureNew'
 
So I was wondering what is the standard / or best way to have the button
controls when activated , deactivate all other controls ?
 
Cheers
Karsten
 

Karsten Vennemann
Principal

Terra GIS LTD
 <http://www.terragis.net/> www.terragis.net

 




=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 9.0.0.2308, Virus/Spyware Database: 6.20620)
http://www.pctools.com/
=======
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120920/d45bec05/attachment.html>


More information about the Users mailing list