ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
681 stars 230 forks source link

The property `pixel` of pointermove event doesn't exist #387

Closed vvizden closed 3 years ago

vvizden commented 3 years ago

Hi,

I try to get the pixel when the pointermove event is fired, but it doesn't exist.

Please check out my demo.

ghettovoice commented 3 years ago

Hello @vvizden , ol's team change signature of the MapBrowser events. It is now defined with pixel/coordinate as js getter and not catched by spread operator in my listener.

Thanks for report!

ghettovoice commented 3 years ago

Try install from dev tag for some time. npm install vuelayers@dev

vvizden commented 3 years ago

I'll use pixel_ for now, and waiting for your stable version.

Thank you!