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.