ghettovoice / vuelayers

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

Map flashes with custom view resolutions #485

Closed marena closed 2 years ago

marena commented 2 years ago

Hi,

I'm using custom resolutions in view (same as base layers). The map flashes as you zoom and drag. https://codesandbox.io/s/vuelayers-isv-map-v378bm?file=/src/App.vue If you remove resolutions from view it works fine (but map tiles is not sharp)

Any idea whether this problem is a vuelayers/openalyers/map settings?

Thanks for answer

ghettovoice commented 2 years ago

Hello @marena , I found that is flashes when zoom has .sync modifier. Seems that some synchronization bug. I will try to fix it soon. Thanks for report!

marena commented 2 years ago

Thanks for answer

I found also center.sync do same errors