Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering features with EditableGeoJsonLayer gets distorted #885

Open
msci-victor opened this issue Aug 30, 2023 · 0 comments
Open

Rendering features with EditableGeoJsonLayer gets distorted #885

msci-victor opened this issue Aug 30, 2023 · 0 comments

Comments

@msci-victor
Copy link

msci-victor commented Aug 30, 2023

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

@msci-victor msci-victor changed the title Rendering features with EditableGeoJsonLayer are distorted Rendering features with EditableGeoJsonLayer gets distorted Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant