You just need to add a Location cloud variable to your IoT cloud thing, and assign values like
location = Location(gps.location.lat(), gps.location.lng());
in your loop() cycle.
Additionally, this could help:
You just need to add a Location cloud variable to your IoT cloud thing, and assign values like
location = Location(gps.location.lat(), gps.location.lng());
in your loop() cycle.
Additionally, this could help: