Google有提供這個新Feature
http://code.google.com/intl/zh-TW/apis/ajax/documentation/#ClientLocation
當應用程式使用 AJAX API 載入程式時,載入程式會根據 IP 位址找出用戶端的地理位置。只要載入google提供的js library後,便可抓取 google.loader.ClientLocation 這個變數取得用戶的Location資料。詳細規格,請參考Google的文件說明。
Google有提供這個新Feature
http://code.google.com/intl/zh-TW/apis/ajax/documentation/#ClientLocation
當應用程式使用 AJAX API 載入程式時,載入程式會根據 IP 位址找出用戶端的地理位置。只要載入google提供的js library後,便可抓取 google.loader.ClientLocation 這個變數取得用戶的Location資料。詳細規格,請參考Google的文件說明。