Skip to content

Removing map-feature to leave an empty layer- throws an error #838

@AliyanH

Description

@AliyanH

When removing the only map-feature from a layer-, map-feature disconnectedCallback throws an error.

Steps to reproduce:

  • Go to this experiment
  • Click "Add feature"
  • Click "Remove feature"
  • Console throws an error, and the feature is not completely removed, checking unchecking the layer still renders the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions