I am trying to get Geolocation data into `coords` to store in DynamoDB in my ionic application, i keep getting an error if i follow my below code,

```
bookResource(resourceId, timeslot): Promise<void> {
let promise: Promise<void> = new Promise<void>((resolve, reject) => {
  this.globals.displayLoader("Place...");

  let place : Place = {
    coords: google.maps.LatLng(position.coords.latitude, position.coords.longitude),
    userId: this.globals.getUserId(),
    userFirstName: this.globals.getUserFirstName(),
    userLastName: this.globals.getUserLastName(),
  };
  this.authClient.getClient().placesCreate(this.globals.getUserId(), place).subscribe(
    (data) => {
      place.placeId = data.placeId;
      this.places.push(place);
      resolve();
    },
    (err) => {
      reject(err);
    }
  );
});
return promise;
}

```

the `coords` value in the above code is not storing geolocation coordinates, whereas, my `userId` values are stored correctly, how do i fix this. thanks