brh55 / react-native-open-maps

🗺 A simple react-native library to perform cross-platform map actions (Google, Apple, or Yandex Maps)
MIT License
359 stars 47 forks source link

Can it directly show the routes in google map or apple map between 2 locations? #13

Closed shan1iu closed 6 years ago

brh55 commented 6 years ago

@shan1iu currently not supported, but it's possible to add this to the library!

brh55 commented 6 years ago

@shan1iu I can add, or you are more than welcome to do it!

shan1iu commented 6 years ago

thanks for your reply. this is a very awesome tool.

brh55 commented 6 years ago

Would you be open to trying out the latest PR #14 , this includes the directions capabilities? I haven't been able to QA it, only coded it per the both specs, so no guarantees 🗡 @shan1iu . But I would also like to refine the API to make it a little easier to consume.

Couple ways to test this:

  1. Clone repo into your node modules, git checkout the directions branch

or

  1. Copy index.js from the directions branch as copy it into your own internal component
brh55 commented 6 years ago

@shan1iu Just managed to test it, available on v0.3.0, update your package dependencies! :)

shan1iu commented 6 years ago

Cheers mate