深冬
深冬
  • 发布:2015-10-12 17:38
  • 更新:2015-10-12 17:38
  • 阅读:1279

geolocation.getCurrentPosition在Hbuilder返回参数与xcode打包返回参数不一致

分类:HBuilder

Hbuilder打印的结果:
{"coordsType":"wgs84","address":{"postalCode":null,"district":"Tianhe","poiName":null,"city":"Guangzhou","cityCode":null,"country":"China","province":"Guangdong","street":"Guangzhou Middle Avenue"},"addresses":"Sainahe Zhiye Senior Chamber","coords":{"latitude":23.13785562851109,"longitude":113.3156246983803,"accuracy":65,"altitude":79.08409118652344,"heading":null,"speed":null,"altitudeAccuracy":10.56090863220089},"timestamp":1444642698926.477}

Xcode打印的结果:
{"coordsType":"wgs84","coords":{"latitude":23.13785562851109,"longitude":113.3156246983803,"accuracy":65,"altitude":79.08409118652344,"heading":null,"speed":null,"altitudeAccuracy":10.56090863220089},"timestamp":1444642698926.477}

是否要在xcode进行什么设置

2015-10-12 17:38 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复