Skip to content

Searching by name after searching by address does not clear origin #160

Closed
@craigpestell

Description

@craigpestell

When using the search by name feature, if I first search by address, then by name, the map stays on the last address location and does not show all the stores by name.

I fixed this by adding mappingObj.origin = undefined; to the last section of processForm function, in the else if(searchInput !== '') { case.

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