I am developing a maps application. I need to take distance and duration between two locations. Then I use these infos by current user location. But I couldn't implement google APIs. How can take the current location and calculate distance,duration between another location?