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

@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.

get directions.png (91×60 px, 1 KB)
Open in maps app.png (92×60 px, 2 KB)

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?