Fix received midLat and midLong values in midWay function due to Google's API change.