Skip to content

For some reason, duplicate propertyName matches are removed from the search results. #261

@just-Addict

Description

@just-Addict

My data happens to contain a few 'user provided' entries which have the same content in the propertyName: 'Title' for different locations.

Now, if I do a search on this propertyName: 'Title' in the marker layers to be searched in, I only get 1 result listed even though others exist.

I am not fluent enough in Javascript to determine where, let alone even why, filtering is applied.

Duplicate names for locations is something that is a real-world occurence (supermarket chains for instance) and I honestly cannot understand why the search control even does filtering. It should never filter but simply return what exists in the data, duplicate propertyName or not...

If this cannot be fixed I am forced to search for a replacement control (and it was already difficult enough to find one that searches in the existing marker data instead of real world locations)
or, heaven forbid, struggle to write my own custom control...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions