class Ym4r::YahooMaps::BuildingBlock::Geocoding::Result

Contains a result match from the Yahoo! Maps geocoding service.

Public Instance Methods

exact_match?() click to toggle source

Indicates if the location passed in the request could be exactly identified.

# File lib/ym4r/yahoo_maps/building_block/geocoding.rb, line 72
def exact_match?
  warning.nil?
end
latlon() click to toggle source

Convenience method for the lazy.

# File lib/ym4r/yahoo_maps/building_block/geocoding.rb, line 62
def latlon
  [latitude,longitude]
end
lonlat() click to toggle source

Convenience method for the lazy.

# File lib/ym4r/yahoo_maps/building_block/geocoding.rb, line 67
def lonlat
  [longitude,latitude]
end