Skip to content

[PXCT-998] Cloud - Updated cloudlocation documentation #2542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@ To read the location values, we can use the following method `Location coordinat

| Property | Type | Read value | Set value |
| --------- | ------- | ----------------- | --------------------------- |
| Latitude | `float` | `coordinates.lat` | This variable is ready only |
| Longitude | `float` | `coordinates.lon` | This variable is ready only |
| Latitude | `float` | `coordinates.lat` | `latitude = latitudeValue;` |
| Longitude | `float` | `coordinates.lon` | `longitude = longitudeValue;` |

To set the coordinates for the CloudLocation, we pass the location variables to the CloudLocation variable `x = Location(latitude, longitude);`.

***The format of the `lat` and `lon` is in Decimal Degrees (DD), for example `41.40338`, `2.17403`.***

Expand Down
Loading