New features for locateUser and buildDirectionsUrl