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

featuresAt when using an icon-offset #1924

Closed
andrewharvey opened this issue Jan 12, 2016 · 1 comment
Closed

featuresAt when using an icon-offset #1924

andrewharvey opened this issue Jan 12, 2016 · 1 comment

Comments

@andrewharvey
Copy link
Collaborator

In the example at https://www.mapbox.com/mapbox-gl-js/example/marker-popup/ if I use pin style map markers rather than circle markers from the example, and then use icon-offset for the icon so that the pin head is set to the feature location rather that the center of the icon, featuresAt still only triggers based on the feature location, not where my marker icon is.

Maybe featuresAt needs an offset parameter so that it can trigger based on the offset icon?

PS. #1274 isn't due to not icon-offset, so I don't think it's a duplicate.

EDIT: Possibly related to #316

@jfirebaugh
Copy link
Contributor

Yes, icon-offset (and text-offset, line-offset, etc) are specific cases that #316 will address. Let's track it there.

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