Skip to content
Heatmap visualization using IndoorAtlas Data Api and MapBox visualization
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
project
src/main
target/scala-2.12
.gitignore
README.md
build.sbt

README.md

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.

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
You can’t perform that action at this time.