Skip to content

Commit

Permalink
Added a link to google api info on accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
andruby committed Apr 4, 2009
1 parent e28aea1 commit 9869c96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/geokit/mappable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,12 @@ class GeoLoc < LatLng
# Attributes set upon return from geocoding. Success will be true for successful
# geocode lookups. The provider will be set to the name of the providing geocoder.
# Finally, precision is an indicator of the accuracy of the geocoding.
attr_accessor :success, :provider, :precision, :accuracy
attr_accessor :success, :provider, :precision
# Street number and street name are extracted from the street address attribute.
attr_reader :street_number, :street_name
# accuracy is set for Yahoo and Google geocoders, it is a numeric value of the
# precision. see http://code.google.com/apis/maps/documentation/geocoding/#GeocodingAccuracy
attr_accessor :accuracy

# Constructor expects a hash of symbols to correspond with attributes.
def initialize(h={})
Expand Down

0 comments on commit 9869c96

Please sign in to comment.