mmomtchev / rlayers

React Component Library for OpenLayers
ISC License
173 stars 36 forks source link

Feature add stop event property #323

Open U29 opened 1 month ago

U29 commented 1 month ago

Currently, the stopEvent property of ROverlay cannot be controlled and is always true. Also, if “pointer-events-none” is not specified in ROverlay, it will not work correctly when the map is moved or expanded on ROverlay. However, if “pointer-events-none” is removed, the onClick event will no longer fire. Setting stopEvent=false solves the above problem.