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

queryRenderedFeatures doesn't return raster layers #3873

Closed
diegomura opened this issue Dec 30, 2016 · 1 comment
Closed

queryRenderedFeatures doesn't return raster layers #3873

diegomura opened this issue Dec 30, 2016 · 1 comment

Comments

@diegomura
Copy link
Contributor

mapbox-gl-js version: 0.29.0

Demo

http://jsbin.com/xifeke/edit?html,js,output

Steps to Trigger Behavior

  1. Create an image source with some url and coordinates
  2. Add a raster layer to print the image on the map
  3. call queryRenderedFeatures when mousedown at the map and filter the image layer

Expected Behavior

An array with the raster layer

Actual Behavior

Empty array

@tmcw
Copy link
Contributor

tmcw commented Dec 31, 2016

Hi Diego,

Thanks for the issue: we're already tracking this request in #1404, so let's keep the discussion there.

Thanks,

  • Tom

@tmcw tmcw closed this as completed Dec 31, 2016
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

2 participants