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

Click,Mousemove and other event doesn't work #163

Open
xnathanh opened this issue Feb 4, 2025 · 0 comments
Open

Click,Mousemove and other event doesn't work #163

xnathanh opened this issue Feb 4, 2025 · 0 comments

Comments

@xnathanh
Copy link

xnathanh commented Feb 4, 2025

I want to display all the landmarks on a spherical map and display some information I want to display after clicking, but the click event on mapboxMap does not work, only the click event on L.map is useful, but I can't get the spherical landmark information on this layout. I hope to get help to get the click event of mapboxMap.

I did see some closed threads but none of them helped me, I put the original mapbox-gl-leaflet.js in a fiddle for your convenience

Fiddle:https://jsfiddle.net/xnathanh/cbnoteLs/104/

other event in line: 458
click event in line: 545

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

1 participant