We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the geocoder, type in a country only (i.e. "Canada") and select the result from the list.
mapbox-gl-geocoder.js:1 Uncaught TypeError: Cannot read property 'length' of undefined(anonymous function) @ mapbox-gl-geocoder.js:1o.value @ mapbox-gl-geocoder.js:25i.handleMouseDown @ mapbox-gl-geocoder.js:24(anonymous function) @ mapbox-gl-geocoder.js:24
The text was updated successfully, but these errors were encountered:
Looks like it is thrown here: https://github.com/mapbox/mapbox-gl-geocoder/blob/master/index.js#L78 if the geocoding response doesn't have context. @tristen is this as simple as adding a && selected.context... clause?
context
&& selected.context...
Sorry, something went wrong.
593a9a4
No branches or pull requests
In the geocoder, type in a country only (i.e. "Canada") and select the result from the list.
mapbox-gl-geocoder.js:1 Uncaught TypeError: Cannot read property 'length' of undefined(anonymous function) @ mapbox-gl-geocoder.js:1o.value @ mapbox-gl-geocoder.js:25i.handleMouseDown @ mapbox-gl-geocoder.js:24(anonymous function) @ mapbox-gl-geocoder.js:24
The text was updated successfully, but these errors were encountered: