def coordinates_for_place(place_name)
      result = Geocoder.search(place_name)

      if result.empty?
        raise "No result found for '#{place}'"
      end

      {latitude: result.first.latitude,
       longitude: result.first.longitude}
    end
def coordinates_for_place(place_name)
      result = Geocoder.search(place_name)

      if result.empty?
        raise "No result found for '#{place}'"
      end

      {latitude: result.first.latitude,
       longitude: result.first.longitude}
    end
Get the latitude and longitude for a certain place, resolved via Google
 maps api. This hash can be used in `set_location`.

 @example
  cal.coordinates_for_place('The little mermaid, Copenhagen')
  # => {:latitude => 55.6760968, :longitude => 12.5683371}

 @return [Hash] Latitude and longitude for the given place
 @raise [RuntimeError] If the place cannot be found