fh-wfm-gps-misanche
v0.0.5
Published
A simple GPS Raincatcher module that emits the current location when requested
Downloads
26
Readme
Feedhenry Raincatcher GPS module
This is a simple Raincatcher module that provides a service that subscribes and publishes location topics.
Topics
Subscription
This module subscribes to the wfm:gps:position:update
topic. This triggers a call to the navigator.geolocation
functionality in the browser if available.
Publish
This module publishes the following topics:
| Topic | Parameters |
| ---- | ----------- |
|done:wfm:gps:position:update
| See geolocation documentation |
|error:wfm:gps:position:update
| See PositionError documentation |
Client Side Usage
angular.module('app', [
require('fh-wfm-gps')
...
])