Changeset 112
- Timestamp:
- 12/01/07 16:25:09 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
hw/hw4/library/lib/ym4r/google_maps/geocoding.rb.memorylookup-experimental
r111 r112 41 41 "San Francisco" => [37.779160, -122.420049], 42 42 } 43 44 43 45 44 46 #Gets placemarks by querying the Google Maps Geocoding service with the +request+ string … … 55 57 "", #data_thoroughfare.text 56 58 "", #data_postal_code.text 57 BIG_HASH[request][ 0],58 BIG_HASH[request][ 1])59 BIG_HASH[request][1], 60 BIG_HASH[request][0]) 59 61 else 60 62 placemarks = Placemarks.new(request,GEO_UNKNOWN_ADDRESS) 61 63 end 62 sleep 164 sleep 0.1 63 65 placemarks 64 66 end
