5+ API,获取位置信息

uniapp内,使用5+ API获取位置信息

plus.geolocation.getCurrentPosition(function(data){
	_this.address = data;
	console.log(JSON.stringify(data))
});

API地址:Geolocation模块管理设备位置信息

猜你喜欢

转载自blog.csdn.net/qq_40745143/article/details/107505872