Skip to content

MAPC/embedded-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Landline (Embedded Map)

Overview

LandLine is MAPC's vision to connect our greenways and trails into a seamless network. This project is a Leaflet map that renders those trail networks and projects. We also track "gaps" in the trail network, in order to identify where we can invest in trail development to strengthen and improve the network.

We use Airtable (via Airtable.js) as a lightweight Content Management System (CMS) to serve trail project data, and the trail data is made available through an ESRI feature service.

We use a combination of styled-components and react-bootstrap for visual components of the map.

ESLint and Prettier are configured for this project, using our organization's shared ESLint config as a baseline.

Setup

  • Install dependencies with yarn install
  • Create .env file (environment variables can be found in Dashlane secure notes)

Development

After setting up the project, run the app locally (http://localhost:3000) with yarn start

Deployment

Currently, there is no staging environment, just the GitHub Pages site (which is embedded in the Landline website). To build and deploy the site, run yarn deploy locally, which will use the gh-pages module to build the production bundle and copy it into the gh-pages branch, which is the branch served by GitHub Pages.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •