Revised directory structure (js/ -> lib/, test/ -> tests/) to match JSAN distribution standards, as documented at http://www.openjsan.org/documentation/dists.html.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
OpenLayers.Control = Class.create();
|
||||
OpenLayers.Control.prototype = {
|
||||
// OpenLayers.Map
|
||||
map: null,
|
||||
|
||||
// HTMLDivElement
|
||||
div: null,
|
||||
|
||||
initialize: function () {},
|
||||
|
||||
draw: function () {
|
||||
if (this.div == null) {
|
||||
this.div = OpenLayers.Util.createDiv();
|
||||
}
|
||||
return this.div;
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
// eliminate circular references
|
||||
this.map = null;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user