TimeMap instance for Civilian Harm in Ukraine
TimeMap is a tool for exploration, monitoring and classification of incidents in time and space, originally forked from forensic-architecture/timemap.
npm install
to setupCONFIG=config.js npm run dev
or npm run dev
if the file is named config.jsThis project is now living in github pages and the API has switched to auto-updated S3 files. Access it at https://bellingcat-embeds.ams3.cdn.digitaloceanspaces.com/production/ukr/timemap/api.json
Release with npm run deploy
.
Please read our Contribution Guide and check our Issues Page for desired contributions, and feel free to suggest your own.
SERVER_ROOT
- points to the API base addressXXXX_EXT
- points to the respective JSONs of the data, for events, sources, and associationsAPI_DATA
- S3 file address that can be downloaded or integrated into external apps/visualizationsMAPBOX_TOKEN
- used to load the custom stylesDATE_FMT
and TIME_FMT
- how to consume the events' date/time from the APIstore.app.map
- configures the initial map view and the UX limitsstore.app.cluster
- configures how clusters/bubbles are grouped into larger clusters, larger radius
means bigger cluster bubblesstore.app.timeline
- configure timeline ranges, zoom level options, and default rangestore.app.intro
- the intro panel that shows on startstore.app.cover
- configuration for the full page cover, the description
is a list of markdown entities, can also contain htmlstore.ui.colors
and store.ui.maxNumOfColors
are applied to filters, as they are selectedEasiest way to deploy the static files is through
nvm use 16
npm run build
(rather: CI=false npm run build
)/var/www/html