[OpenLayers-Commits] r12036 -
trunk/openlayers/lib/OpenLayers/Renderer
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Fri Jun 3 03:27:43 EDT 2011
Author: fredj
Date: 2011-06-03 00:27:42 -0700 (Fri, 03 Jun 2011)
New Revision: 12036
Modified:
trunk/openlayers/lib/OpenLayers/Renderer/Elements.js
Log:
ElementsIndexer: call clear in initialize. Non functional change. r=ahocevar (closes #3340)
Modified: trunk/openlayers/lib/OpenLayers/Renderer/Elements.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/Elements.js 2011-06-03 05:47:41 UTC (rev 12035)
+++ trunk/openlayers/lib/OpenLayers/Renderer/Elements.js 2011-06-03 07:27:42 UTC (rev 12036)
@@ -57,10 +57,8 @@
this.compare = yOrdering ?
OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_Y_ORDER :
OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_DRAWING_ORDER;
-
- this.order = [];
- this.indices = {};
- this.maxZIndex = 0;
+
+ this.clear();
},
/**
More information about the Commits
mailing list