POIs, and relations, and stuff :)
[potlatch2.git] / net / systemeD / halcyon / connection / Node.as
index b8aceb050db0aa22cdf8e76af40b5dc54f719a3f..de7806522e482aa96a7c567ccc1f83f91c9c56e9 100644 (file)
@@ -5,12 +5,16 @@ package net.systemeD.halcyon.connection {
         private var _latproj:Number;
         private var _lon:Number;
 
-        public function Node(id:Number, version:uint, tags:Object, lat:Number, lon:Number) {
-            super(id, version, tags);
+        public function Node(id:Number, version:uint, tags:Object, loaded:Boolean, lat:Number, lon:Number) {
+            super(id, version, tags, loaded);
             this.lat = lat;
             this.lon = lon;
         }
 
+               public function update(version:uint, tags:Object, loaded:Boolean, lat:Number, lon:Number):void {
+                       updateEntityProperties(version,tags,loaded); this.lat=lat; this.lon=lon;
+               }
+
         public function get lat():Number {
             return _lat;
         }