JamesLMilner / terra-draw

A library for drawing on maps that supports Mapbox, MapLibre, Google Maps, OpenLayers and Leaflet out the box
https://terradraw.io
MIT License
447 stars 50 forks source link

[Bug] Issues rendering with TerraDrawOpenLayersAdapter on Windows #302

Closed JamesLMilner closed 3 weeks ago

JamesLMilner commented 1 month ago

Describe the bug The ticket references a bug that was found at the OSGeo UK CodeSprint where users couldn't draw on Windows on the OpenLayers Adapter.

I believe migrating supported version to OpenLayers 10 will resolve this issue.

Terra Draw npm version 1.0.0.beta.0

To Reproduce Steps to reproduce the behavior:

  1. Use a Windows machine
  2. Use the TerraDrawOpenLayersAdapter
  3. Try to draw as normal
  4. Geometries are not drawn and console error is show about multiple canvases

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context This was found at the OSGeo CodeSprint

JamesLMilner commented 3 weeks ago

Should be resolved now 👍🏻