提交 4e83ff45 编写于 作者: L liu-binjun

bugfix:delete locationEventListener

Signed-off-by: Nliu-binjun <liubinjun@huawei.com>
上级 a41584dd
......@@ -481,7 +481,7 @@ getCurrentLocation(request?: CurrentLocationRequest) : Promise&lt;Location&gt;
```
var requestInfo = {'priority': 0x203, 'scenario': 0x300,'maxAccuracy': 0};
locationEventListener.getCurrentLocation(requestInfo).then((result) => {
geolocation.getCurrentLocation(requestInfo).then((result) => {
console.log('current location: ' + JSON.stringify(result));
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册