search for: coord_lat

Displaying 1 result from an estimated 1 matches for "coord_lat".

2006 May 18
3
Google Map
...h_result=&db=pc&cidr_client=none&lang=&keepicon=true&pc=#{postcode2}&advanced=&client=public&addr2=&quicksearch=#{postcode}") do |f| #coords = f.read.match(/lat=\"(-?\d+\.\d+)\" lng=\"(-?\d+\.\d+)\"/) ret_html = f.read coord_lat = ret_html.match(/<dd class=\"latitude\">\d+:\d+:\d+\w \((-?\d+\.\d+)\)/) coord_lon = ret_html.match(/<dd class=\"longitude\">\d+:\d+:\d+\w \((-?\d+\.\d+)\)/) unless coord_lat.nil? and coord_lon.nil? return { :lat => coord_lat.to_a[1], :long...