wuming
V2EX  ›  微信

微信 JS SDK 中地理位置接口得到的坐标属于哪个坐标系

  •  
  •   wuming · Mar 4, 2015 · 5715 views
    This topic created in 4095 days ago, the information mentioned may be changed or developed.

    文档中只给出了接口,但没有指出是哪种坐标系。

    wx.getLocation({
    success: function (res) {
    var latitude = res.latitude; // 纬度,浮点数,范围为90 ~ -90
    var longitude = res.longitude; // 经度,浮点数,范围为180 ~ -180。
    var speed = res.speed; // 速度,以米/每秒计
    var accuracy = res.accuracy; // 位置精度
    }
    });

    1 replies    2015-03-04 12:38:15 +08:00
    abelyao
        1
    abelyao  
       Mar 4, 2015 via iPhone
    去百度的 LBS 接口 坐标转地址,试试看就知道了。
    手机上的不方便帮你查了,没记错的话就是那套国内加密标准。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5180 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:51 · PVG 16:51 · LAX 01:51 · JFK 04:51
    ♥ Do have faith in what you're doing.