#628 - a feature has a geometry - a geometry doesn't have a feature - features are rendered, selected, moved, modified, etc - down in the renderer, expando properties on nodes are limited to _featureId, _style, and _options - this removes expandos that created circular references back through the map and to other dom elements - when the renderer is involved in selecting features, it returns a featureId (instead of a geometry or feature) and the layer is responsible for fetching the appropriate feature
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3043 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -19,14 +19,6 @@ OpenLayers.Geometry.prototype = {
|
||||
|
||||
/** @type OpenLayers.Bounds */
|
||||
bounds: 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
|
||||
@@ -42,7 +34,6 @@ OpenLayers.Geometry.prototype = {
|
||||
this.id = null;
|
||||
|
||||
this.bounds = null;
|
||||
this.feature = null;
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user