zoukankan      html  css  js  c++  java
  • 百度经纬度获取

    经纬度

    浏览器获取经纬度信息
    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米"}

  • 相关阅读:
    Java 的Throwable、error、exception的区别
    最长回文子序列和最长回文子串
    牛客练习赛40 C-小A与欧拉路
    判断一棵树是否为二叉搜索树,完全二叉树和二叉平衡树
    Java语言的特点和特性
    设计模式
    联合索引和单列索引
    如何优化sql查询
    数据库的范式和约束
    数据库事务ACID和事务的隔离级别
  • 原文地址:https://www.cnblogs.com/howesdomo/p/5691530.html
Copyright © 2011-2022 走看看