Overview

This page is for JavaScript developers who need a deeper level of understanding than the casual user.

The JavaScript in this project communicates with the Garmin browser plugin making it easy to transfer location data from a GPS device to a web site and back.

Compatibility

The plugin is currently available for the following browsers:

  1. Internet Explorer
  2. Firefox for Windows
  3. Safari and Firefox on Mac OS X - under development

Browser Plugin

Browser-specific plugin that talks directly to Garmin devices. This must be downloaded and installed on each client browser. See Install Plugin .

JavaScript

You can browse the JavaScript APIs and source code here . Important JavaScript files have their own description page under the modules menu.

Dependencies

  1. protoype.js - Located in prototype/prototype.js. See http://www.prototypejs.org/
  2. GarminDevice.js - Packaged with other JavaScript. See http://www.quirksmode.org/js/detect.html
  3. JSUnit - Located in jsunit/. See http://www.jsunit.net/

Prerequisites

  1. Basic understanding of JavaScript.
  2. Rudimentary understanding of prototype JavaScript library .

Next Steps

  1. Download and Install the Garmin Communicator Plugin
  2. Read the module documentation (see module menu).
  3. Run the module demos: DeviceDisplay , DeviceControl and DevicePlugin
  4. Browse the code
  5. Run the unit tests
  6. Obtain a Garmin Communicator key to unlock the plugin (only needed for site deployment).