Class Ym4r::YahooMaps::BuildingBlock::Geocoding::Result
In: lib/ym4r/yahoo_maps/building_block/geocoding.rb
Parent: Struct.new(:precision,:warning,:latitude,:longitude,:address,:city,:state,:zip,:country)

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

Methods

exact_match?   latlon   lonlat  

Public Instance methods

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

[Source]

    # File lib/ym4r/yahoo_maps/building_block/geocoding.rb, line 72
72:           def exact_match?
73:             warning.nil?
74:           end

Convenience method for the lazy.

[Source]

    # File lib/ym4r/yahoo_maps/building_block/geocoding.rb, line 62
62:           def latlon
63:             [latitude,longitude]
64:           end

Convenience method for the lazy.

[Source]

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

[Validate]