mozilla-mobile / prox

[INACTIVE] A search and discovery app for the "here & now". We're experimenting with ideas on mobile that can better surface content from the open web.
https://wiki.mozilla.org/New_Mobile_Experience
Mozilla Public License 2.0
22 stars 12 forks source link

Closes #623: Use latlong instead of address for routing #625

Closed liuche closed 7 years ago

liuche commented 7 years ago

Looked at history and it seems like we've been using "address" for Apple Maps routing, but that's not necessary because we always have a lat/long. Switched to using latlong (instead of falling through to Google maps web if the address didn't exist).

liuche commented 7 years ago

From the Apple Maps docs, the destination address needs to be "an address string that geolocation can understand" and lat/long falls into that category.

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