I am using this code
this.eventForm.patchValue({ latitude: lat[1], longitude: long[0], })
to set the values in inputs a