Skip to content

marklewin/ably-asset-tracking-js-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ably Asset Tracking JavaScript SDK Demo

demo

This app uses the Ably Asset Tracking for JavaScript SDK to subscribe to updates from a publisher, such as the Android Publishing Example App.

It is offered as a simpler (and less feature-rich) alternative to the example app bundled within the Ably Asset Tracking JavaScript SDK repo, because it uses the open-source Leaflet.js web mapping library instead of the Google Maps API or Mapbox, and hence does not require an API key to use.

To run it:

  1. Clone this repository
  2. Change into the project directory and run npm install to install the required dependencies.
  3. Run the Android publishing example app and make a note of the tracking ID.
  4. Copy sample.env to .env and configure your Ably API key and the tracking ID from the preceding step.
  5. Open your browser at http://localhost:5000 and watch the asset being tracked in realtime.

About

Simple map client using Ably Asset Tracking Javascript SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published