2
0
Fork
You've already forked SimpleStoryMaps
0
  • HTML 50.8%
  • JavaScript 32.3%
  • CSS 16.9%
2026年04月30日 14:26:34 +02:00
css Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
data Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
js Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
sample Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
.gitignore Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
.gitlab-ci.yml Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
CLAUDE.md Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
field-mode.html Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
index.html Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
LICENSE Added license and fixed datagenerator script name 2024年03月26日 14:31:21 +00:00
README.md Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00
sampledatagenerator.js Moved datagenerator to the root directory and related changes. 2024年03月26日 14:42:04 +00:00
sonar-project.properties Migrating to the new UI ( #2 ) 2026年04月30日 14:26:34 +02:00

Simple Map Stories

Simple Map Stories (SMS) is a location centeric, time based data visualisation tool that works offline and online without the need for any backend.

Rationale

Maps reveal, delineate, verify, orient, navigate, anticipate, historicize, conceal, persuade, and, on occasion, even lie (Mattern, 2015).

Features

The tool, takes point-type geojson and plots it on a map.

  1. It supports Text popup along with a playable Audio/Video as its data points.
  2. Add and filter by categories
  3. Filter data by year or a date range
  4. Colour coded categories
  5. Static site, with data thta could be loaded from Google Sheet or GeoJson files

How to setup this tool

  1. Clone this repository into your root directory for the static site.

  2. copy js/config.js.sample to js/config.js

  3. Follow the data loading instructions below based on your need.

  4. Write your nginx or apache or any webserver of your choice to render a static site. Below is an nginx sample for rendering the site as mapstories.example.com

    server {
     server_name mapstories.example.com;
     listen 80;
     root /path/to/project;
     index index.html;
     access_log /path/to/access.log;
     error_log /path/to/error.log;
    }
    
  5. Run certbot for automatic ssl and your site is live.

Note: - This tool is intentionally not built to use cool frameworks, and it will not be re-written in frameworks like React or Vue at any point in time. - We can absolutely deploy this site in gitlab or github pages or in PaaS platforms like Vercel or Netlify. Instructions for the same to be updated soon.

Data Loading

GeoJSON files as your data

  1. Refer to sample/ on how to write the respective json files if you want the data to be loaded as GeoJSON. Google Sheet instructions to be updated soon.
  2. Create a directory called data/ and store your json files inside the same in case of self hosted.
  3. Assuming your site is mapstories.example.com and your json files are placed in data/ directory, then your categories url will be mapstories.example.com/data/categories.json and data url will be mapstories.example.com/data/data.geojson

Loading data from Google Sheets

Instructions to be updated soon.