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米"}

  • 相关阅读:
    Ubuntu vi命令
    Aria2 使用
    axel 参数 文件下载地址
    序列化模块、加密模块
    项目开发规范、time模块、日志
    递归函数(了解)
    模块
    函数进阶四(装饰器、内置函数)
    函数进阶三(生成器、生成器表达式、匿名函数)
    函数进阶二(函数名运用,闭包,迭代器)
  • 原文地址:https://www.cnblogs.com/howesdomo/p/5691530.html
Copyright © 2011-2022 走看看