uniapp内,使用5+ API获取位置信息
plus.geolocation.getCurrentPosition(function(data){
_this.address = data;
console.log(JSON.stringify(data))
});
API地址:Geolocation模块管理设备位置信息
uniapp内,使用5+ API获取位置信息
plus.geolocation.getCurrentPosition(function(data){
_this.address = data;
console.log(JSON.stringify(data))
});
API地址:Geolocation模块管理设备位置信息