Skip to content

lianthompson/city-ratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

City-ruler

City-ruler

City-ruler is a frontend web and desktop app for comparing the size of two cities. It overlays the second city you enter on an opaque background of the first city. The second city can be moved to compare different parts of the map.

Users can use the reverse button to toggle the first and second city.

City-ruler was bootstrapped with Create React App, Electron and uses Mapbox's API. Visits are tracked with Mixpanel.

Available Scripts

For Web

To run city-ruler locally, in terminal, type:

npm i npm start

This runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

For Desktop

npm i npm run electron-dev

Current Features

  • Moveable 'active' map
  • Toggle between active and inactive map

Later Features

  • Drop down menu to compare states and countries
  • Shareable link
  • Active map opacity slider
  • Plot distances
  • Save location between toggles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published