0.0.1 • Published 7 years ago

fh-wfm-gps v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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 docs | |error:wfm:gps:position:update| See PositionError docs

Client Side Usage

angular.module('app', [
require('fh-wfm-gps')
...
])