Markers -> this.markers, reverts a change I made and fixes a bug euzuro introduced. (But I don't have a test case for it yet, so it's not his fault.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@135 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -7,7 +7,7 @@ OpenLayers.Layer.Marker.prototype =
|
||||
|
||||
/** internal marker list
|
||||
* @type Array(OpenLayers.Marker) */
|
||||
markers: [],
|
||||
markers: null,
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
@@ -16,7 +16,7 @@ OpenLayers.Layer.Marker.prototype =
|
||||
*/
|
||||
initialize: function(name) {
|
||||
OpenLayers.Layer.prototype.initialize.apply(this, arguments);
|
||||
markers = new Array();
|
||||
this.markers = new Array();
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user