Skip to content

Rendering features with EditableGeoJsonLayer gets distorted  #885

@msci-victor

Description

@msci-victor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions