added function to center the map on the searched location