Web Component: j-GPS


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-GPS

  • singleton
  • readonly

The component tries to read GPS coordinates.

Configuration:

  • watcher {Boolean} enables a real-time watcher for GPS (default: true)

Good to know:

The component emits ON('gps', function(coords) { event with a new GPS coordinates.

Author