Changeset 112 for hw/hw4

Show
Ignore:
Timestamp:
12/01/07 16:25:09 (4 years ago)
Author:
cs186
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • hw/hw4/library/lib/ym4r/google_maps/geocoding.rb.memorylookup-experimental

    r111 r112  
    4141"San Francisco" => [37.779160, -122.420049], 
    4242      } 
     43 
     44 
    4345       
    4446      #Gets placemarks by querying the Google Maps Geocoding service with the +request+ string 
     
    5557                                                 "", #data_thoroughfare.text 
    5658                                                 "", #data_postal_code.text 
    57                                                  BIG_HASH[request][0], 
    58                                                  BIG_HASH[request][1]) 
     59                                                 BIG_HASH[request][1], 
     60                                                 BIG_HASH[request][0]) 
    5961        else 
    6062          placemarks = Placemarks.new(request,GEO_UNKNOWN_ADDRESS)           
    6163        end 
    62         sleep 1 
     64        sleep 0.1 
    6365        placemarks 
    6466      end