diff --git a/fujix/leaf.rb b/fujix/leaf.rb index 5628bb5..7f92671 100755 --- a/fujix/leaf.rb +++ b/fujix/leaf.rb @@ -13,8 +13,6 @@ lat = ARGV[1].to_f data = Hash.new -#data["fujix"] = [38.91026,139.84532] -#data["ほげ"] = [38.91526,139.84032] cookieuke = Hash.new # cookie値保存用のHash if (c=ENV['HTTP_COOKIE']) # 環境変数 HTTP_COOKIE にcookieリストがある @@ -29,9 +27,6 @@ name = cookieuke["name"] id = cookieuke["id"].to_i -lon = 38.91326 -lat = 139.84032 - begin db.execute("select * from main"); rescue @@ -51,7 +46,7 @@ data[load['id']] = [load['name'],load['lon'],load['lat']] end -printf(<<_EOS_) +printf(<<_EOS_,lon.to_f,lat.to_f) @@ -73,7 +68,7 @@