Clear bounds of geometries when reprojecting. Patch wwork by myself, tschaub,

ahocevar. r=ahocevar. (Closes #1658)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@7885 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-08-28 18:41:00 +00:00
parent 1b71180f14
commit 2d286b7ccc
6 changed files with 57 additions and 1 deletions

View File

@@ -206,6 +206,7 @@ OpenLayers.Geometry.Point = OpenLayers.Class(OpenLayers.Geometry, {
if ((source && dest)) {
OpenLayers.Projection.transform(
this, source, dest);
this.bounds = null;
}
return this;
},