Closed max172-hqt closed 1 month ago
Describe the bug
Hi,
It looks like the underlying Overlay object (access through the ref of ol-overlay component) does not have correct default properties such as stopEvent or insertFirst (should be true instead of false by default).
stopEvent
insertFirst
true
false
Please take a look at this demo here. I can pan the map even when the cursor is on top of the overlay. This is because, stopEvent is set to false when it's supposed to be true by default, according to Openlayer API (https://openlayers.org/en/latest/apidoc/module-ol_Overlay-Overlay.html)
Affected version(s)
Please run npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu and paste the output below:
npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu
├── ol-ext@4.0.18 ├── ol@9.1.0 ├── vue@3.4.26 └── vue3-openlayers@8.1.0
To Reproduce Steps to reproduce the behavior:
overlayRef.value.overlay.getOptions()
Expected behavior stopEvent or insertFirst should be true
Actual behavior stopEvent and insertFirst are false
Thanks!
Describe the bug
Hi,
It looks like the underlying Overlay object (access through the ref of ol-overlay component) does not have correct default properties such as
stopEvent
orinsertFirst
(should betrue
instead offalse
by default).Please take a look at this demo here. I can pan the map even when the cursor is on top of the overlay. This is because,
stopEvent
is set tofalse
when it's supposed to betrue
by default, according to Openlayer API (https://openlayers.org/en/latest/apidoc/module-ol_Overlay-Overlay.html)Affected version(s)
Please run
npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu
and paste the output below:To Reproduce Steps to reproduce the behavior:
overlayRef.value.overlay.getOptions()
Expected behavior
stopEvent
orinsertFirst
should betrue
Actual behavior
stopEvent
andinsertFirst
arefalse
Thanks!