Page MenuHomePhabricator

Add Get Directions or Open in Apple Maps actions to share sheet when article has location
Closed, ResolvedPublic

Description

Ideally, anywhere an article can be shared (from Places, article reader Toolbar, etc), if the article has an associated location, there should be a share custom action to "Open in Maps" or "Get Directions" which will launch the Maps application with the coordinate.

https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html

Event Timeline

JMinor created this task.Mar 7 2017, 2:34 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 7 2017, 2:34 AM
JMinor triaged this task as Low priority.Mar 7 2017, 2:34 AM

@AMroczkowski to make the object more "rich" in maps, you can fill out the info in MKPlacemark with everything applicable

@cmadeo added placeholder icons from Places but we'll need real ones

@AMroczkowski let me know if you need different sizes or file types. Both of the PDFs include spacing so that the Maps icon is optically aligned.

Does this look right?

Not just right but great!

Looks good! Thanks @AMroczkowski!

Looks great coming off of the article! Would it be possible to add 'Open in Maps App' and 'Get Directions' from the share sheet on the Places tab @AMroczkowski?

JMinor closed this task as Resolved.Mar 20 2017, 6:49 PM