React-native-maps: How can we show the route maps line source from destination

Created on 21 May 2017  路  3Comments  路  Source: react-native-maps/react-native-maps

Most helpful comment

image

All 3 comments

image

+1 would like to know how to achieve this

This has nothing to do with the functionality of this component.

  1. Open a project on Google,
  2. Get an API key
  3. Make request to the directions API
  4. Parse the response

Parsing the response will result in an array of coordinates that you can put in Polyline component.

@christopherdro I think you can close this one

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Anandks1993 picture Anandks1993  路  3Comments

thayanithik picture thayanithik  路  3Comments

rafetkhallaf picture rafetkhallaf  路  3Comments

jack2684 picture jack2684  路  3Comments

HiroNonoyama picture HiroNonoyama  路  3Comments