headers: headers
})
.map(res => res.json())
- .subscribe(res => console.log(res));
+ .subscribe(res => this.emitNewUpdatedObject(res));
}
}
this.form.controls.lat.updateValue(data.location.lat);
this.form.controls.lng.updateValue(data.location.lng);
+ this.form.controls.featureType.updateValue("POINT");
this.form.controls.parent.updateValue(data.parent);
}