Skip to content

Layer switcher not necessarily updated when layers are removed from the map #174

@symbioquine

Description

@symbioquine

We probably need to update this to honor layers being removed(/changed?):

// When new layers are added, refresh the layer layer switcher
instance.map.on('farmOS-map.layer', () => {
renderLayerSwitcher();
});

Also relevant: walkermatt/ol-layerswitcher#98

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