码迷,mamicode.com
首页 > 其他好文 > 详细

百度经纬度获取

时间:2016-07-21 15:03:04      阅读:624      评论:0      收藏:0      [点我收藏+]

标签:

经纬度

浏览器获取经纬度信息
no 1: 113.307649; 23.1200491
no 2:手机微信获取(113.247321;23.134914)

1、wgs84ll(wgs84经纬度坐标)
浏览器
http://api.map.baidu.com/cloudrgc/v1?geotable_id=8396953&&ak=fDb9hmtLGcgdtgm7zCBiQgdeuTjqp6lp&coord_type=wgs84ll&location=23.12004,113.30764

{"status":0,"message":"ok","location":{"lat":23.123360067366808,"lng":113.31952878531809},"address_component":{"country":"中国","province":"广东省","city":"广州市","district":"越秀区","street":"寺右南二街一巷","street_number":"41号","admin_area_code":440104,"country_code":"0"},"formatted_address":"广东省广州市越秀区寺右南二街一巷41号","recommended_location_description":"广兴华花园内0米"}


手机
http://api.map.baidu.com/cloudrgc/v1?geotable_id=8396953&&ak=fDb9hmtLGcgdtgm7zCBiQgdeuTjqp6lp&coord_type=wgs84ll&location=23.134914,113.247321

{"status":0,"message":"ok","location":{"lat":23.138283142595936,"lng":113.25912095185066},"address_component":{"country":"中国","province":"广东省","city":"广州市","district":"越秀区","street":"凉亭街","street_number":"12号","admin_area_code":440104,"country_code":"0"},"formatted_address":"广东省广州市越秀区凉亭街12号","recommended_location_description":"湖天宾馆西南72米"}
==============================================================================================================================
2、bd09ll(百度经纬度坐标)
浏览器
http://api.map.baidu.com/cloudrgc/v1?geotable_id=8396953&&ak=fDb9hmtLGcgdtgm7zCBiQgdeuTjqp6lp&coord_type=bd09ll&location=23.12004,113.30764

{"status":0,"message":"ok","location":{"lat":23.12004,"lng":113.30764},"address_component":{"country":"中国","province":"广东省","city":"广州市","district":"越秀区","street":"美华北路","street_number":"","admin_area_code":440104,"country_code":"0"},"formatted_address":"广东省广州市越秀区美华北路","recommended_location_description":"东山湖公园内0米"}

手机
http://api.map.baidu.com/cloudrgc/v1?geotable_id=8396953&&ak=fDb9hmtLGcgdtgm7zCBiQgdeuTjqp6lp&coord_type=bd09ll&location=23.134914,113.247321

{"status":0,"message":"ok","location":{"lat":23.134914,"lng":113.247321},"address_component":{"country":"中国","province":"广东省","city":"广州市","district":"荔湾区","street":"荔湾路","street_number":"97号之二","admin_area_code":440103,"country_code":"0"},"formatted_address":"广东省广州市荔湾区荔湾路97号之二","recommended_location_description":"恩宁楼东北52米"}

==============================================================================================================================
3、gcj02ll(国测局经纬度坐标)

浏览器
http://api.map.baidu.com/cloudrgc/v1?geotable_id=8396953&&ak=fDb9hmtLGcgdtgm7zCBiQgdeuTjqp6lp&coord_type=gcj02ll&location=23.12004,113.30764

{"status":0,"message":"ok","location":{"lat":23.126078430263129,"lng":113.31411445968964},"address_component":{"country":"中国","province":"广东省","city":"广州市","district":"越秀区","street":"寺右新马路","street_number":"19号","admin_area_code":440104,"country_code":"0"},"formatted_address":"广东省广州市越秀区寺右新马路19号","recommended_location_description":"长城酒店(寺右新马路店)附近17米"}

手机
http://api.map.baidu.com/cloudrgc/v1?geotable_id=8396953&&ak=fDb9hmtLGcgdtgm7zCBiQgdeuTjqp6lp&coord_type=gcj02ll&location=23.134914,113.247321
{"status":0,"message":"ok","location":{"lat":23.1408626284686,"lng":113.25381175340984},"address_component":{"country":"中国","province":"广东省","city":"广州市","district":"越秀区","street":"东风西路","street_number":"139号","admin_area_code":440104,"country_code":"0"},"formatted_address":"广东省广州市越秀区东风西路139号","recommended_location_description":"流花湖公园内0米"}

百度经纬度获取

标签:

原文地址:http://www.cnblogs.com/howesdomo/p/5691530.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!