经纬度-地址 互相转换 https://developers.google.com/maps/documentation/geocoding/ http://maps.googleapis.com/maps/api/geocode/output?parametershttps://maps.googleapis.com/maps/api/geocode/output?parametersoutput:json
/xmlparameters:address
/latlng
/components
/sensor
可选参数:bounds
/language
/region
/components
As is standard in URLs,all parameters are separated using the ampersand (&
) character.JSON Output Formats(json输出格式)
http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true_or_falseXML Output Formats
http://maps.googleapis.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true_or_false 例如:http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true&language=zh-CNhttp://maps.googleapis.com/maps/api/geocode/json?address=杭州&sensor=true&language=zh-CN
Android使用该api需要用到最新的google play service和google应用商店 以及google-play-services_lib和android-support-v4.jar
申请api key的地址:https://code.google.com/apis/console
另外附上sougou地图的地址:http://map.sogou.com/api/documentation/mobile/api1.0/android/basics.html
需要翻墙访问:http://cheng-min-i-taiwan.blogspot.com/2013/04/google-maps-android-api-v2-android.html#comment-form