rewrite the function to get road name from google map api