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

Bug in query-similar-features Example on Mapbox Site #3025

Closed
KaiBot3000 opened this issue Aug 17, 2016 · 3 comments
Closed

Bug in query-similar-features Example on Mapbox Site #3025

KaiBot3000 opened this issue Aug 17, 2016 · 3 comments

Comments

@KaiBot3000
Copy link

KaiBot3000 commented Aug 17, 2016

mapbox-gl.js v0.22.0:

Steps to Trigger Behavior

  1. Visit https://www.mapbox.com/mapbox-gl-js/example/query-similar-features/
  2. Open developer console
  3. Hover over counties on map

Expected Behavior

Something on the map to change in response to user interaction

Actual Behavior

query_features.js:26 Uncaught TypeError: e.renderedIDs is not a function, and nothing changes on the map

Note

I checked this out in Chrome and Safari and saw the same behavior. I'm not sure what's actually supposed to happen so this will be fun 😸

@KaiBot3000 KaiBot3000 self-assigned this Aug 17, 2016
@peterqliu
Copy link
Contributor

Looks like a regression with v.0.22.0; this worked in 0.21.0 (jsfiddle).

My stack trace is pointing to the querySourceFeatures line.

@peterqliu
Copy link
Contributor

likely related: #3022

@KaiBot3000 KaiBot3000 removed their assignment Aug 17, 2016
@lucaswoj
Copy link
Contributor

This was fixed in #3022

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

3 participants