This example reads both waypoints and tracks from a device and displays them on a Google Map.

Try it out.
DeviceDipsplay JavaScript Configuration:
var display = new Garmin.DeviceDisplay("garminDisplay", { showReadDataElement: true, //show read/cancel read buttons showReadGoogleMap: true, //show Google map (need a Google key) showProgressBar: true, //show progress bar showReadTracksSelect: true, //show tracks in a select element showReadWaypointsSelect: true, //show waypoints in a select element showFindDevicesElement: true, //show find device button autoFindDevices: true //automatically find connected devices on page load });
