Skip to content

tobinbradley/quality-of-life-embed

Repository files navigation

Quality of Life Embed/Print

An independent project related to the Quality of Life Dashboard.

DEMO

Setup

git clone https://github.com/tobinbradley/quality-of-life-embed.git
cd quality-of-life-embed
git clone https://github.com/tobinbradley/mecklenburg-quality-of-life-data data
npm install
npm run datagen
npm run build

Start the project

npm run start

Build for production

npm run build

URL Arguments

All URL arguments are optional. If no metric is passed, a random metric appears. If no year is passed, the most recent year for the given metric is shown.

Metrics and years are validated. If a bad metric ID is passed, a random metric is selected. If an unavailable year is passed, the most recent year is selected.

  • m: metric id (integer), if none passed will select random
  • t: title
  • s: selected geography (id1, id2, ...)
  • y: metric year (integer), if none passed will get most recent year available
  • pitch: allow 3d pitching of map (default true)
  • smaxzoom: set maximum zoom level when zooming in to selected geography
  • tocp: show table of contents positioning arrows (default false)

About

Embed/Print map for the Quality of Life Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published