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.