move google map api function to GoogleMapApiClient class