Closed erDuo10 closed 10 months ago
Hello @erDuo10 ,
You should check layer id is correct, and is it "managed"(not added as overlay) layer, is it vector layer and etc.
There is extended documentation https://openlayers.org/en/v6.15.1/apidoc/module-ol_Map-Map.html#forEachFeatureAtPixel, when call though this.$refs.map.$map.forEachFeatureAtPixel
.
There is also a demo https://jsfiddle.net/ghettovoice/Ln9qr135/460/
Thank you! That helps a lot.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
as the code show, layerFilter do not implement filter use, the filter code could not trigger the callbak method handleDemanderFeatureClick.
after delete the filter, the onMapPointerMove trigger many a time