Skip to content
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

Open
jiveRed opened this issue Oct 26, 2019 · 5 comments

Comments

@jiveRed
Copy link

jiveRed commented Oct 26, 2019

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

@FranciscoImanolSuarez
Copy link

Hi, could you solve this problem? I'm stuck with the same

@jiveRed
Copy link
Author

jiveRed commented Dec 8, 2019 via email

@tosebikan
Copy link

Hi, its a problem with the naming convention.

import Polyline from '@mapbox/polyline';

from the import the second "L" is not a capital letter.

@RawazKayani
Copy link

RawazKayani commented Feb 26, 2020

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?

@louiswicks
Copy link

Also having this same issue and I have 'import Polyline from @mapbox/polyline' and still got this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants