|
本帖最后由 tgfeng 于 2017-1-19 10:56 编辑
debugger;
alert("经度:" + position.coords.longitude);
alert("地址:" + position.address);
alert("纬度:" + position.coords.latitude);
alert("坐标系:" + position.coorType);
alert("radius:" + position.coords.radius);
alert("code:" + position.code);
alert("message:" + position.message);
gpsDtd.resolve({
coorType : position.coorType,
address : position.address,
longitude : position.coords.longitude,
latitude : position.coords.latitude
});
如图所示, position.address读不出来值?为什么呀?takeout案例装到手机上也有这个问题。c:\users\betty\desktop\location.jpg
|
|