SelectedFeature:
    | { id: string; type: "marker" }
    | { id: string; type: "layer" }
    | undefined