Changeset 111
- Timestamp:
- 12/01/07 16:11:39 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
hw/hw4/library/lib/ym4r/google_maps/geocoding.rb.memorylookup-experimental
r108 r111 37 37 "California" => [37.269175,-119.306607], 38 38 "Boston" => [42.35888,-71.05682], 39 "L.A." => [19.85627,102.495496], 39 "L.A." => [ 34.053290, -118.245009 ], 40 "Berkeley" => [37.869505, -122.270499], 41 "San Francisco" => [37.779160, -122.420049], 40 42 } 41 43 42 44 #Gets placemarks by querying the Google Maps Geocoding service with the +request+ string 43 45 def self.get(request) 46 puts "**************** REQUEST " + request + " ************* " 44 47 if BIG_HASH[request] 45 48 placemarks = Placemarks.new(request,GEO_SUCCESS)
