0.2.6 • Published 7 years ago
fh-wfm-location-angular-misanche v0.2.6
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')
...
])