[sibebar] added polygon
[u/erikhf/frm.git] / src / components / sidebar / sidebar.ts
index b915779..900b089 100644 (file)
@@ -51,6 +51,7 @@ export class Sidebar {
     email: Control = new Control("");
     phoneNumber: Control = new Control("");
     featureType: Control = new Control("");
+    coordinates: Control = new Control("");
 
 
     constructor(http:Http, fb: FormBuilder) {
@@ -76,7 +77,8 @@ export class Sidebar {
             "address": this.address,
             "email": this.email,
             "phoneNumber": this.phoneNumber,
-            "featureType": this.featureType
+            "featureType": this.featureType,
+            "coordinates": this.coordinates
         });
         let instance = this;
         this.lat.valueChanges.observer({