[ js ] google map api呼叫外部程式的問題

看板Ajax作者 (無條件的愛妳~)時間15年前 (2008/11/10 18:15), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
小弟我最近在研究google map 遇到了一些瓶頸 我想要利用一個外部的程式(這個程式可以向資料庫索取座標資料) 然後由API去呼叫這個外部程式 API得到座標後並要在地圖上顯示出標示 可是在google map官網找不到類似範例和做法 目前我是有一個寫死的外部程式(是一個Array) 裡面有座標的資料 但是就是不知道API那邊要怎麼去呼叫座標的資料 還要呈現出氣球的標示 希望有人能夠幫我看看解決的辦法...謝謝 以下是我的外部程式 void Page_Load(object obj, EventArgs e) { decimal[,] arrPosition = new decimal[3, 2]; arrPosition[0, 0] = 25.12539261151203; arrPosition[0, 1] = 121.552734375; arrPosition[1, 0] = 24.10664717920179; arrPosition[1, 1] = 120.6298828125; arrPosition[2, 0] = 23.43300907742036; arrPosition[2, 1] = 120.443115234375 foreach (decimal strposi in arrPosition) { //Response.Write(Convert.ToString(strposi)+ " "); Console.Write(strposi); } Console.WriteLine(); } 若不符合版規要求...我會自D...謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.229.39.31
文章代碼(AID): #1960crJH (Ajax)
文章代碼(AID): #1960crJH (Ajax)