EddyVerbruggen / nativescript-directions

:point_up_2: :point_right: :point_down: :point_left: Open the Maps app to show directions to anywhere you like
MIT License
83 stars 21 forks source link

Lat, Long for to address #17

Closed delanick closed 6 years ago

delanick commented 6 years ago

Hi Eddy,

Can I pass Lat and Long to the to: array instead of an address, or in conjunction with an address? How would I do this and which one will be used as default?

EddyVerbruggen commented 6 years ago

Hi!

Yes, look at the usages of this function in my plugins demo app.

It's an array because you can have multiple waypoints, so there's no default. You can even mix lat/lng and address in one Array (for multiple waypoints).

delanick commented 6 years ago

@EddyVerbruggen Thanks bud, appreciated! That's an awesome plugin BTW!