-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 event - onLayerClick #1464
Comments
i found that some people were looking for this, after some research i came up with the following: it is working for me, but i am not too sure of this is the right way. |
app-reduce.js
|
Hi, openlayers-droid, thanks for your help so much, and could you share the detail usage here? :) |
for my question, I find a solution, we can see the index:100 from my F12 dev console, it is the data index which I set from addDataToMap action, by the way , I send the geoJsonDataArray, so here 100 is my data array index, I can use the index to find the actual data (eg: geojson properties) |
Thank you for the great tool!
an example on how to fire click events using onLayerClick is very much needed. i tried to hook up with MapBoxGL click event but it is not working - only zoomend/zoonstart events are firing.
many thanks
The text was updated successfully, but these errors were encountered: