-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[regression] 0.44.0 map.queryRenderedFeatures() completely ignores symbols #6074
Comments
Running into the same issue with overzoomed vector tile sources hosted by Mapbox. Steps to reproduce using this jsfiddle:
Please note: Edit: |
@mike-marcacci Thanks for reporting and for the screencast. Is there any chance you'd be able to share a live page that reproduces the issue? So far, I haven't managed to reproduce it locally. |
Hi @anandthakker, thanks for the reply. I don't have anything live running this version (I'm just running the previous one instead), but I'll try to get a simplified working demo live today. |
I believe the overzooming problem that @pathmapper described above happens like so:
The consequence: even though cc @ansis @ChrisLoer |
… placement operation completes. Refs #6074
@mike-marcacci I'd be curios to know if this branch still exhibits the problem for you: #6104 |
Hey there, so sorry for the delay; I haven’t had any cell service here and am just trying to get this out on 1 bar 😑. I will try with that branch as soon as I can download it!! Thanks so much for the super fast response here.
…Sent from my iPhone
On Feb 6, 2018, at 21:36, Anand Thakker ***@***.***> wrote:
@mike-marcacci I'd be curios to know if this branch still exhibits the problem for you: #6104
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
… placement operation completes. Refs #6074
… placement operation completes. Refs #6074
… placement operation completes. Refs #6074
… placement operation completes. Refs #6074
… placement operation completes. Refs #6074
Hey team, sorry again for the delay – finally back on the grid. I can confirm that the branch 6074 (from PR #6104) restores the behavior from 0.43.0! Thanks for the quick fix! |
Thanks for confirming, @mike-marcacci |
… placement operation completes. Refs #6074
… placement operation completes. Refs #6074
… placement operation completes. Refs #6074
Fixed in #6104 |
… placement operation completes. Refs mapbox#6074
… placement operation completes. Refs mapbox#6074
@anandthakker I am still seeing this bug in 0.44.1 - just realized that the map we built for our partners is not working just before they have a major launch this week! Returning to 0.43.0 works. Live example here: https://wherewework.amazonfrontlines.org/ source code: https://github.com/digidem/alianza-ceibo-maps/ |
Thanks @gmaclennan. I suspect this might be a different underlying issue, but it's hard to be sure without a minimal reproduction -- could you either describe the details of the querying that's happening in your example or reduce it to a smaller example free of extraneous application code? |
Hey @anandthakker thanks for the quick response. This looks like it was a weird caching issue both on the published version and on my local dev machine, which means that the update to 0.44.1 was not coming through correctly. Anyhow, it seems to have started working again now. |
Upon upgrading to 0.44.0, map.queryRenderedFeatures() fails to return any
symbol
layers that use GeoJSON sources specified in the second argument. I've gone through my layers' layout properties one-by-one to see if there is one particular trigger, and there doesn't seem to be.Do note, though, that rarely map.queryRenderedFeatures will return a symbol layer, but after just another second of map interaction, stops again. Downgrading to 0.43.0 fixes this.
VIEW SCREENCAST
Check out #6075 for a screencast of "expected" behavior.
The text was updated successfully, but these errors were encountered: