uber / nebula.gl

A suite of 3D-enabled data editing overlays, suitable for deck.gl
https://nebula.gl/
Other
686 stars 166 forks source link

Rendering features with EditableGeoJsonLayer gets distorted #885

Open msci-victor opened 1 year ago

msci-victor commented 1 year ago

Describe the bug

When rendering features during drawing or as a complete feature with EditableGeoJsonLayer the shape gets distorted. If we instead try to render a GeoJsonLayer with the same featureCollection it looks alright.

Click in the map to view how it looks like during drawing mode.

Actual Result

https://7xm2mr.csb.app/

Expected Result

https://7xm2mr.csb.app/ Toggle the EditableGeoJsonLayer and GeoJsonLayer at line 49 in index.mjs

Reproduce Steps

View code at: https://codesandbox.io/s/7xm2mr?file=/src/index.mjs

Screenshots

image

vs

image