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

limoragni picture limoragni  路  3Comments

wpram picture wpram  路  3Comments

allthetime picture allthetime  路  3Comments

jvaclavik picture jvaclavik  路  3Comments

KarlosQ picture KarlosQ  路  3Comments