Do not change the active state of button controls on a panel when a tool control is activated. p=jorix, r=me (closes #2764)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -76,9 +76,9 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
|
||||
/**
|
||||
* Property: type
|
||||
* {OpenLayers.Control.TYPES} Controls can have a 'type'. The type
|
||||
* determines the type of interactions which are possible with them when
|
||||
* they are placed into a toolbar.
|
||||
* {Number} Controls can have a 'type'. The type determines the type of
|
||||
* interactions which are possible with them when they are placed in an
|
||||
* <OpenLayers.Control.Panel>.
|
||||
*/
|
||||
type: null,
|
||||
|
||||
@@ -351,6 +351,17 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
CLASS_NAME: "OpenLayers.Control"
|
||||
});
|
||||
|
||||
/**
|
||||
* Constant: OpenLayers.Control.TYPE_BUTTON
|
||||
*/
|
||||
OpenLayers.Control.TYPE_BUTTON = 1;
|
||||
|
||||
/**
|
||||
* Constant: OpenLayers.Control.TYPE_TOGGLE
|
||||
*/
|
||||
OpenLayers.Control.TYPE_TOGGLE = 2;
|
||||
|
||||
/**
|
||||
* Constant: OpenLayers.Control.TYPE_TOOL
|
||||
*/
|
||||
OpenLayers.Control.TYPE_TOOL = 3;
|
||||
|
||||
Reference in New Issue
Block a user