Skip to content

Heatmap visualization using IndoorAtlas Data Api and MapBox visualization

License

Notifications You must be signed in to change notification settings

IndoorAtlas/scala-js-heatmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heatmap visualization using IndoorAtlas Data API and Scala.js

Example heatmap

This project implements a simple web service that can be used to visualize IndoorAtlas session data for a given account, dates and floor levels. It demonstrates how

  • IndoorAtlas Data API can be used to fetch the session data, based on Data API key and given dates
  • The data can be used with heatmap visualization libraries, such as MapBox GL JS

Live demo here

  • Visualise your own user data or use an example visualization here.
  • In order to visualize your own user data, you will need an IndoorAtlas account with session data and a Data API key.
  • When using your own Data API key and logged in to IndoorAtlas, paths can also be used as a link to view the session in the IndoorAtlas session viewer:

Example link

Commercial use

This repository is for demonstration only. Users wishing to use IndoorAtlas Data API for commercial purposes, contact sales@indooratlas.com.

Related content

Building and running locally

  • Install sbt 1.3.0
  • Run sbt from command line in the project root
    • Should automatically resolve all dependencies
    • Build using sbt fastOptJS or fastOptJS (in sbt console)
      • For production, use fullOptJS and change resources/index.html dependency accordingly
    • Use ~fastOptJS for automatic build with code changes (e.g. when using an IDE) and refresh the page when done
  • Open target/scala_2.12/classes/index.html in a browser
    • Fill the fields and submit
    • Use Example button for fixed demo query config

Possible future improvements

  • Make the project cross compile to JS and JVM
    • command line + save to local json file for JVM
    • src folders already reflect this

About

Heatmap visualization using IndoorAtlas Data Api and MapBox visualization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages