SyntaxFix
Write A Post
Hire A Developer
Questions
For set value when your control is FormGroup can use this example
this.clientForm.controls['location'].setValue({ latitude: position.coords.latitude, longitude: position.coords.longitude });