[Feature] Enhance the places deep linking support in the Wikipedia app to support coordinates #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/places-deep-linking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the work done to add support to the Wikipedia app to show a custom location in the map of the Places view coming from a places deep link.
To provide further details about the work:
NSUSerActivity
instance out of places deep links;wmf_locationFromURL
property to theNSUSerActivity
via an extension that returns aCLLocation
instance with latitude and longitude coordinates if provided;PlacesViewController
view controller that, essentially, center the map of this view controller to a given location;WMFAppViewController
view controller to center the map in case a location has been provided via a deep link;