Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using MapKit instead of Google for directions? #207

Open
GeorgeBellTMH opened this issue Oct 3, 2022 · 3 comments
Open

Using MapKit instead of Google for directions? #207

GeorgeBellTMH opened this issue Oct 3, 2022 · 3 comments

Comments

@GeorgeBellTMH
Copy link

Just curious if this uses MapKit for directions on iOS (given that it is free for all users of iOS - and no apikey, it would seem to make more sense to make use of apple directions where possible).

@bramus
Copy link
Owner

bramus commented Oct 6, 2022

This package works by calling the Directions Endpoint from Google Maps. If Apple offers a similar service it could be used, but afaik they don’t offer that.

It would require a refactor where the fetching and parsing parts of the library are separated from the rendering part.

@GeorgeBellTMH
Copy link
Author

There are two options from apple:

The native one is free for all iOS users:
https://developer.apple.com/documentation/mapkit/mkdirections

The javascript version is included in apple developer purchase:
https://developer.apple.com/documentation/mapkitjs/mapkit/directions

@Splicer97
Copy link

There are two options from apple:

The native one is free for all iOS users: https://developer.apple.com/documentation/mapkit/mkdirections

The javascript version is included in apple developer purchase: https://developer.apple.com/documentation/mapkitjs/mapkit/directions

You can use this package
https://github.com/Splicer97/react-native-apple-mapkit-directions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants