Hi, I am trying to build a button in our app that when pressed, will launch users to their native Maps app with their destination pre-entered and "No Highways" automatically selected.
Currently I am doing this using the Maps URL "http://maps.apple.com/?daddr="+destinationCoords+"&dirflg=d", where "destinationCoords" is the coordinates of the user's selected destination, like "33,-122".
The problem is, the Maps URL scheme does not seem to support a parameter for avoiding highways, https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html
I tried looking at MKMapItem's openMaps and openInMaps but those don't seem to support launching Maps with No Highways automatically selected either.
I had no problem doing this with Google Maps. Is there any way at all to do the same with Apple Maps?
Thanks,
Terry