1.0.0 • Published 3 years ago
uni-location v1.0.0
call location
描述
Installtion
npm i uni-locationUsage
import callLocation from 'uni-location'
callLocation().then(coord => {})Props
| 参数名 | 说明 | 默认值 |
|---|---|---|
| name | plus.geolocationname | getCurrentPosition |
| retry | 重试次数大于 0 时开始重试 | -1 |
1.0.0
3 years ago