Open Google and Apple maps with waypoints
Hey @brh55,
I would like to ask you, does this lib support opening Google and Apple maps with waypoints?
Thanks.
Does not support waypoint, I would have to see if it's available in the URL scheme.
Does not support waypoint
It's too pity
I would have to see if it's available in the URL scheme.
Would appreciate if you take a look at it!
@alexeyvax you can achieve this by simply using RNs Linking module.
You could use it like this
Linking.openURL('https://maps.apple.com/?daddr='+URI_ENCODED_ADDRESS)
For Google Maps use
Linking.openURL('https://maps.google.com/?daddr='+URI_ENCODED_ADDRESS)
This will open Maps App with directions to your given address.
@smm76 Yes, you are right, but I'm looking for possibility to open apple map with additional points between start and and points. As far as I know google maps have this functionality (https://developers.google.com/maps/documentation/directions/intro#optional-parameters called waypoints). Just need to use query param &waypoints=, but apple doesn't https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html or I missed something :(
Old issue, but Apple maps supports multiple daddr parameters, see this SO question.
Merged #75