Skip to content
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

[New] Show device location history #118

Merged
merged 9 commits into from
Feb 16, 2023
Merged

[New] Show device location history #118

merged 9 commits into from
Feb 16, 2023

Conversation

yo1995
Copy link
Collaborator

@yo1995 yo1995 commented Feb 10, 2023

Description

This PR implements Show device location history in Maps category.

URL to README: https://github.com/Esri/arcgis-maps-sdk-swift-samples/tree/Ting/ShowLocationHistory/Shared/Samples/Show%20device%20location%20history

Linked Issue(s)

  • common-samples/issues/3820

How To Test

Run the sample and see if the track always works, and the objects get deallocated correctly when the sample quits.

Screenshots

show-device-location-history

To Discuss

  1. Do we need to weakly capture self in the standalone tasks?
  2. Make sure the for await newLocation in locationDisplay.dataSource.locations section is correct. This sample's key part is to demonstrate async stream is the equivalent of locationChangedHandler pattern.

@yo1995 yo1995 self-assigned this Feb 10, 2023
@yo1995
Copy link
Collaborator Author

yo1995 commented Feb 10, 2023

This is low priority, no hurry to review.

dfeinzimer
dfeinzimer previously approved these changes Feb 11, 2023
Copy link
Contributor

@dfeinzimer dfeinzimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

…HistoryView.swift

Co-authored-by: Philip Ridgeway <philip.ridgeway@gmail.com>
@yo1995 yo1995 requested a review from philium February 16, 2023 16:52
@yo1995
Copy link
Collaborator Author

yo1995 commented Feb 16, 2023

Thanks!

@yo1995 yo1995 merged commit 33d5015 into v.next Feb 16, 2023
@yo1995 yo1995 deleted the Ting/ShowLocationHistory branch February 16, 2023 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants