#662 - prototypes shouldn't get properties that might be extended
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3070 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -22,7 +22,7 @@ OpenLayers.Control.DrawFeature.prototype =
|
||||
/**
|
||||
* @type {Object} The functions that are sent to the handler for callback
|
||||
*/
|
||||
callbacks: {},
|
||||
callbacks: null,
|
||||
|
||||
/**
|
||||
* @type {Function} Called after each feature is added
|
||||
|
||||
@@ -46,7 +46,7 @@ OpenLayers.Control.OverviewMap.prototype =
|
||||
*
|
||||
* @type Array(OpenLayers.Layer)
|
||||
*/
|
||||
layers: [],
|
||||
layers: null,
|
||||
|
||||
/**
|
||||
* The ratio of the overview map resolution to the main map resolution
|
||||
@@ -68,13 +68,14 @@ OpenLayers.Control.OverviewMap.prototype =
|
||||
* options that the main map was constructed with.
|
||||
* @type: Object
|
||||
*/
|
||||
mapOptions: {},
|
||||
mapOptions: null,
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @param {Object} options Hashtable of options to set on the overview map
|
||||
*/
|
||||
initialize: function(options) {
|
||||
this.layers = new Array();
|
||||
OpenLayers.Control.prototype.initialize.apply(this, [options]);
|
||||
},
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ OpenLayers.Control.SelectFeature.prototype =
|
||||
/**
|
||||
* @type {Object} The functions that are sent to the handler for callback
|
||||
*/
|
||||
callbacks: {},
|
||||
callbacks: null,
|
||||
|
||||
/**
|
||||
* @type {Object} Hash of styles
|
||||
|
||||
Reference in New Issue
Block a user