@Neil-Bartlett said in IMPLEMENT API TO MAKE MRA PRIMARY NAV APP:
...Apple Maps and Google Maps are the only navigation Apps in the list for selection by third party Apps when a user clicks on a link to an address.
Ah - having re-read that, do you mean addresses in web pages, like a hotel address which has a link?
If so, you can create a custom URL scheme that will open your app, but you do then have to convince the rest of the world to use it in their websites.
Here's are examples of custom links to open the Apple Maps, Google Maps and Maps.me apps:
Tap to open Apple Maps
Link text is:
http://maps.apple.com/?q=Mexican+Restaurant&sll=50.894967,4.341626&z=10&t=s
Tap to open Google Maps app (after prompt)
Link text is:
comgooglemaps://?center=40.765819,-73.975866&zoom=14&views=traffic
Tap to open Maps.me app (after prompt)
Link text is:
geo:124.028582,-29.201930
(Paste the link text into Safari if the MRA Community website doesn't offer them as links.)
Visit them on your iPhone and see the result.
You'll need Google Maps and Maps.me installed of course.
The most universal/open one is probably the last one, the 'geo:' URI, and also the least used, I suspect.
MRA could certainly register that it accepts links that start with 'geo:' and then the MRA app would be given as a choice when tapping a 'geo:' link. It may even be possible to register that it accepts 'comgooglemaps:' but I can't test that easily without coding it.
The one you can't override is the maps.apple.com one. Its a closed shop on that one.