-
Notifications
You must be signed in to change notification settings - Fork 22
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
TypeError: undefined is not an object (evaluating 'respJson.routes[0].overview_polyline') #7
Comments
Hi, could you solve this problem? I'm stuck with the same |
Make sure that u have a paid google api then console log to check if you’re getting the routes.
…Sent from my iPhone
On 4 Dec 2019, at 9:16 AM, Francisco Imanol Suarez ***@***.***> wrote:
Hi, could you solve this problem? I'm stuck with the same
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi, its a problem with the naming convention. import Polyline from '@mapbox/polyline'; from the import the second "L" is not a capital letter. |
I do not underestand your solution, could you please rephrase it more clearly? |
Also having this same issue and I have 'import Polyline from @mapbox/polyline' and still got this error |
Hi. First of all this map function is really great.
I've been following your tutorial on YouTube and tried running this in Android, but unfortunately I've got this error:
TypeError: undefined is not an object (evaluating 'respJson.routes[0].overview_polyline')
I already searched for solution but sadly, can't find any. Hope someone can help me. TIA
The text was updated successfully, but these errors were encountered: