purge ways when there are too many in memory
[potlatch2.git] / net / systemeD / halcyon / connection / Node.as
index 7050a22e6c852210482097a9974558a97b74d546..027b618c1cf0945dafe28ef3068f28f24eb250b6 100644 (file)
@@ -34,6 +34,9 @@ package net.systemeD.halcyon.connection {
             this._lat = lat;
             this._latproj = lat2latp(lat);
             this._lon = lon;
+                       for each (var way:Way in this.parentWays) {
+                               way.expandBbox(this);
+                       }
         }
         
         public function set lat(lat:Number):void {