# j-GPS

> De component probeert de GPS-coördinaten te lezen.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: nl
Content-SHA256: ba43b605cf07c46aecbd9f212ee119146f7219b8973b1e44e245f972ee512c97
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

- Singleton
- Readonly

De component probeert de GPS-coördinaten te lezen.

__Configuratie__:

- `watcher {Boolean}` maakt een real-time watch voor GPS mogelijk (default: `true`)

__Goed om te weten__:

De component emiteert `ON('gps', function(coords) {` evenement met een nieuwe GPS-coördinaten.

Gebruik het met `<ui-component name="gps">`Wanneer de component nog niet is geladen, jComponent Download het op eerste gebruik van het adres in `DEF.fallback` (De Componentator Schrijver: Peter Širka. bron: de Componentator Componenten repository, MIT licentie.

```html example.html
<ui-component name="gps" path="mygps"></ui-component>
<pre><ui-bind path="mygps" config="html:JSON.stringify(value, null, '  ')"></ui-bind></pre>
```
