Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

n8han
Copy link
Collaborator

@n8han n8han commented Feb 10, 2021

While UserLocation includes a "bearing" (also called "course")
indicating the direction of travel, it does not expose the heading of
the device. Since this information is already provided in the didUpdate userLocation delegate method, we can add it to the UserLocation
payload for a trivial cost at runtime.

Also exposes the existing UserLocation type so that client code may
refer to it.

n8han added 2 commits February 9, 2021 22:58
Objects of this type are returned by framework methods, but client code
and not refer to the type currently.
While UserLocation includes a "bearing" (also called "course")
indicating the direction of travel, it does not expose the heading of
the device. Since this information is already provided in the `didUpdate
userLocation` delegate method, we can add it to the `UserLocation`
payload for a trivial cost at runtime.
@n8han n8han changed the title Show UserLocation type Add heading to UserLocation and expose UserLocation type Feb 11, 2021
@n8han
Copy link
Collaborator Author

n8han commented Feb 11, 2021

I don't think the web build failure is related to changes in this branch.

@tobrun
Copy link
Collaborator

tobrun commented Feb 12, 2021

Android feature request in #528

@tobrun tobrun merged commit d5a5473 into master Feb 12, 2021
@tobrun tobrun deleted the UserPositionType branch February 12, 2021 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants