[OpenLayers-Commits] r2005 - sandbox/vector/lib/OpenLayers
commits at openlayers.org
commits at openlayers.org
Mon Dec 4 18:06:07 EST 2006
Author: camerons
Date: 2006-12-04 18:06:07 -0500 (Mon, 04 Dec 2006)
New Revision: 2005
Modified:
sandbox/vector/lib/OpenLayers/Geometry.js
Log:
Insert a null feature reference at startup. This is just for commenting the feature as part of good programming practice. Should have no functional impact.
Modified: sandbox/vector/lib/OpenLayers/Geometry.js
===================================================================
--- sandbox/vector/lib/OpenLayers/Geometry.js 2006-12-04 18:24:43 UTC (rev 2004)
+++ sandbox/vector/lib/OpenLayers/Geometry.js 2006-12-04 23:06:07 UTC (rev 2005)
@@ -13,6 +13,13 @@
/** @type OpenLayers.Bounds */
extent: null,
+
+ /**
+ * Cross reference back to the feature that owns this geometry so
+ * that that the feature can be identified after the geometry has been
+ * selected by a mouse click.
+ * @type OpenLayers.Feature */
+ feature: null,
/**
* @constructor
More information about the Commits
mailing list