推文按鈕

收進你的MyShare個人書籤

2008年2月15日 星期五

Google Map API

昨天找到Google Map API中文地址轉經緯度的方法(Geocoding Class),
方法很簡單,只要用http的Get方法即可,
透過HTTP,以http://maps.google.com/maps/geo?q=地址或查詢關鍵字&key=Google Map授權碼&out=xml

* q -- The address that you want to geocode.
* key -- Your API key.
* output -- The format in which the output should be generated. The options are xml, kml, csv, or json.

除了上述方法,也可以用Geocoding物件來實作,可參考

http://5i01.com/topicdetail.php?f=130&t=491638
http://code.google.com/apis/maps/documentation/services.html#Geocoding
http://www.javaworld.com/javaworld/jw-01-2006/jw-0116-google.html?page=2

Google API簡單介紹
http://www.gather8.com/blog/article.asp?id=845
http://blog.roodo.com/syshen/archives/347151.html

用ext-js
http://ongmap.com/blog/?page_id=259

沒有留言: