Typeahead clalback method for get places.