def elevation(locations)
      params = {
        locations: GoogleMapsService::Convert.waypoints(locations)
      }

      return get('/maps/api/elevation/json', params)[:results]
    end
def elevation(locations)
      params = {
        locations: GoogleMapsService::Convert.waypoints(locations)
      }

      return get('/maps/api/elevation/json', params)[:results]
    end
Provides elevation data for locations provided on the surface of the
 earth, including depth locations on the ocean floor (which return negative
 values).

 @example Single point elevation
   results = client.elevation({latitude: 40.714728, longitude: -73.998672})

 @example Multiple points elevation
   locations = [[40.714728, -73.998672], [-34.397, 150.644]]
   results = client.elevation(locations)

 @param [Array] locations A single latitude/longitude hash, or an array of
         latitude/longitude hash from which you wish to calculate
         elevation data.

 @return [Array] Array of elevation data responses