android之location 根据接口获取经纬度信息

http://maps.googleapis.com/maps/api/geocode/json?address=%E7%A6%8F%E5%BB%BA&sensor=false
http://maps.googleapis.com/maps/api/geocode/xml?address=%E7%A6%8F%E5%BB%BA&sensor=false

http://maps.googleapis.com/maps/api/geocode/json?latlng=31.02,117.12&sensor=false
http://maps.googleapis.com/maps/api/geocode/xml?latlng=31.02,117.12&sensor=false

http://maps.googleapis.com/maps/api/geocode/json?address=%E7%A6%8F%E5%BB%BA&sensor=false
http://maps.googleapis.com/maps/api/geocode/json?address=%E7%A6%8F%E5%BB%BA&sensor=false&bounds=24,23|45,60

address:需要查询的地址
latlng:需要查询的经纬度
bounds:设定查询的边界
region:设定查询的国家代码
language:设定查询的结果的语言
sensor:标示该请求是否来源于一个设备的传感器

posted on 2014-04-26 01:10  上校  阅读(1986)  评论(0编辑  收藏  举报