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')
...
])