First cut at styling TIGER data via an option. Needs lots of propagation of uid and...
[potlatch2.git] / net / systemeD / halcyon / connection / Node.as
index ab86a8c5a189fa4441117721b6a92eccb240c680..db899cb0cb5cdfcf6decabdaa661eb6ca976596a 100644 (file)
@@ -7,15 +7,15 @@ package net.systemeD.halcyon.connection {
         private var _latproj:Number;
         private var _lon:Number;
 
-        public function Node(id:Number, version:uint, tags:Object, loaded:Boolean, lat:Number, lon:Number) {
-            super(id, version, tags, loaded);
+        public function Node(id:Number, version:uint, tags:Object, loaded:Boolean, lat:Number, lon:Number, uid:Number = NaN, timestamp:String = null) {
+            super(id, version, tags, loaded, uid, timestamp);
             this._lat = lat;
             this._latproj = lat2latp(lat);
             this._lon = lon;
         }
 
-               public function update(version:uint, tags:Object, loaded:Boolean, lat:Number, lon:Number):void {
-                       updateEntityProperties(version,tags,loaded); setLatLonImmediate(lat,lon);
+               public function update(version:uint, tags:Object, loaded:Boolean, lat:Number, lon:Number, uid:Number = NaN, timestamp:String = null):void {
+                       updateEntityProperties(version,tags,loaded,uid,timestamp); setLatLonImmediate(lat,lon);
                }
 
         public function get lat():Number {