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

Properties from click event and mouse enter are not the same #89

Closed
hnahoulder opened this issue Dec 26, 2018 · 1 comment
Closed

Properties from click event and mouse enter are not the same #89

hnahoulder opened this issue Dec 26, 2018 · 1 comment

Comments

@hnahoulder
Copy link

hnahoulder commented Dec 26, 2018

Hello,

I use the MapMouseEvent to get the properties of my objects in the layer. So when the mouse enter on one object, I have the propeties: features, lngLat, originalEvent, point, target and type; but when I use the click event on my object, why the property features is missing?

@Wykks
Copy link
Owner

Wykks commented Jan 27, 2019

It's there, look at the demo : https://wykks.github.io/ngx-mapbox-gl/demo/edit/popup-on-click

But there's was a typescript issue; now fixed :)

@Wykks Wykks closed this as completed in 1a5f369 Jan 27, 2019
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