leebock / dollar-general-interactive

This repo contains the application files for a map interactive which is component of the General Knowledge StoryMap. The purpose the interactive is to show, within a given state, the locations of certain retail chains as well as an optional population density base map.

Home Page:https://storymaps.esri.com/stories/2020/dollar-general-interactive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dollar-general-interactive

This repo contains the application files for a map interactive which is component of the General Knowledge StoryMap. The purpose the interactive is to show, within a given state, the locations of certain retail chains as well as an optional population density base map. The chains are Dollar General, Walmart, McDonalds, Starbucks, and Whole Foods.

Deployment

The primary file types in this repo are html, css, and javascript. To deploy, simply copy the folder to a web server directory.

Notes for developers

  • This is a simple JAMstack project, consisting only of vanilla javascript (no frameworks)

  • The html, css, and javascript files in this project do not require build scripts. Source files can be edited and re-deployed with modifications.

    • Note: Css developers have an alternative to working with the css code directly. If you're familiar with Sass (which we use for convenience in developing our css), you can work with the scss source files provided (in the scss folder).
  • Files you can ignore:

    • Gruntfile.js: A file that I use to automate some tasks in my own environment. This file does not directly relate to the mechanics of the application.
    • Source scss files in the scss folder. If you're not using Sass, you needn't worry about these.

About

This repo contains the application files for a map interactive which is component of the General Knowledge StoryMap. The purpose the interactive is to show, within a given state, the locations of certain retail chains as well as an optional population density base map.

https://storymaps.esri.com/stories/2020/dollar-general-interactive


Languages

Language:JavaScript 58.5%Language:SCSS 26.4%Language:HTML 15.1%