Skip to content

[Bug]: calls to updateVectorLayer and appendLineString cause selected feature to be deselected when using info tool #372

@davetsay

Description

@davetsay

Checked for duplicates

Yes - I've already checked

Describe the bug

API Calls updateVectorLayer and appendLineString will de-select the selected feature. I would assume other api calls that similarly modify vector layers would cause the same behavior.

What did you expect?

The selected feature remains selected

Reproducible steps

1. Use the info tool and select a feature
2. Use the javascript API to update a layer that is different than the layer of the selected feature
3. observe that the selected feature is deselected, the metadata disappears

Environment

- Version of this software v2.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions