update id system -- now control and layer divs take their classname and add a random number
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1411 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -11,10 +11,6 @@ OpenLayers.Control.LayerSwitcher = Class.create();
|
||||
OpenLayers.Control.LayerSwitcher.prototype =
|
||||
Object.extend( new OpenLayers.Control(), {
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "LayerSwitcher",
|
||||
|
||||
/** @type String */
|
||||
activeColor: "darkblue",
|
||||
|
||||
|
||||
@@ -27,10 +27,6 @@ OpenLayers.Control.LayerTabs.NONACTIVE_COLOR = "lightblue";
|
||||
OpenLayers.Control.LayerTabs.prototype =
|
||||
Object.extend( new OpenLayers.Control(), {
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "LayerTabs",
|
||||
|
||||
/** @type String */
|
||||
activeColor: "",
|
||||
|
||||
|
||||
@@ -15,10 +15,6 @@ OpenLayers.Control.MouseToolbar.prototype =
|
||||
Object.extend( new OpenLayers.Control(),
|
||||
Object.extend( new OpenLayers.Control.MouseDefaults(), {
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "MouseToolbar",
|
||||
|
||||
mode: null,
|
||||
|
||||
buttons: null,
|
||||
|
||||
@@ -13,10 +13,6 @@ OpenLayers.Control.PanZoom.Y = 4;
|
||||
OpenLayers.Control.PanZoom.prototype =
|
||||
Object.extend( new OpenLayers.Control(), {
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "PanZoom",
|
||||
|
||||
/** @type int */
|
||||
slideFactor: 50,
|
||||
|
||||
|
||||
@@ -13,10 +13,6 @@ OpenLayers.Control.PanZoomBar.Y = 4;
|
||||
OpenLayers.Control.PanZoomBar.prototype =
|
||||
Object.extend( new OpenLayers.Control.PanZoom(), {
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "PanZoomBar",
|
||||
|
||||
/** @type Array(...) */
|
||||
buttons: null,
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@ OpenLayers.Control.Permalink = Class.create();
|
||||
OpenLayers.Control.Permalink.prototype =
|
||||
Object.extend( new OpenLayers.Control(), {
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "Permalink",
|
||||
|
||||
/** @type DOMElement */
|
||||
element: null,
|
||||
|
||||
|
||||
@@ -13,10 +13,6 @@ OpenLayers.Control.Scale.prototype =
|
||||
/** @type DOMElement */
|
||||
element: null,
|
||||
|
||||
/** For div.id
|
||||
* @type String */
|
||||
id: "Scale",
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user