class Geocoder::Result::Google
def bounding_box_from(box)
def bounding_box_from(box) return nil unless box south, west = %w(lat lng).map { |c| box['southwest'][c] } north, east = %w(lat lng).map { |c| box['northeast'][c] } [south, west, north, east] end