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

map.on(event, 'canvas-layer', callback) is not capturing events. #5916

Closed
SiggyF opened this issue Dec 24, 2017 · 2 comments
Closed

map.on(event, 'canvas-layer', callback) is not capturing events. #5916

SiggyF opened this issue Dec 24, 2017 · 2 comments

Comments

@SiggyF
Copy link

SiggyF commented Dec 24, 2017

v0.43.0:
I created this minimal example to show that currently, raster layers based on canvas sources do not seem to capture events.

https://jsbin.com/yuvaducena/edit?html,css,js,output

Steps to Trigger Behavior

  1. Create a map with a raster layer, based on a canvas source
  2. Subscribe to the layers events, using map.on(event, 'layer-id', callback) api
  3. Log the event

Expected Behavior

Event logged.

Actual Behavior

Nothing logged.

@SiggyF
Copy link
Author

SiggyF commented Dec 24, 2017

I found #1404 which is probably related.

@jfirebaugh
Copy link
Contributor

Yep, same issue. I'll note there that canvas-sourced raster layers should be included.

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