nat-geolocation

1.0.2 • Public • Published

nat-geolocation

Installation

weexpack plugin add nat-geolocation
npm install natjs --save

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'
 
// get
Nat.geolocation.get((err, ret) => {
    console.log(ret)
})
 
// watch
Nat.geolocation.watch((err, ret) => {
    console.log(ret)
})
 
// clearWatch
Nat.geolocation.clearWatch()
 
</script> 

See the Nat Documentation for more details.

Package Sidebar

Install

npm i nat-geolocation

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

68.3 MB

Total Files

830

Last publish

Collaborators

  • natjs