A Map application made with JavaScript to store workouts.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Mapty is a vanilla JavaScript application that interacts with the Leaflet library and display Map. This app uses modern JavaScript tools, such as Webpack to bundle the modules, and Babel to convert ES6, ES7 and ES8 back to ES5. The user can add workouts for running and cycling and these are stored via local storage.
This app is built with pure vanilla JavaScript along with HTML and SCSS. It uses webpack as module bundler and NPM as package manager.
To get started with project just simply fork this repo or download locally on your System.
To get a local copy up and running follow these simple example steps.
Start with the latest version of NPM to avoid any errors:
- npm
npm install npm@latest -g
- Get Leaflet library Leaflet
- Clone the repo
git clone https://github.com/vinayak0127/Mapty.git
- Install NPM packages
npm install
-
Add workouts near to your Geo location.
-
Add workouts to bookmarks to view it later.
-
Click on workouts to see it's location.
See the open issues for a list of proposed features (and known issues).
-
Ability to edit a workout.
-
Ability to delete a workout.
-
Ability to delete all workouts.
-
Ability to sort workouts by a certain field (e.g. distance).
-
Re-build Running and Cycling objects coming from Local Storage.
-
More realistic error and confirmation messages.
-
Ability to position the map to show all workouts.
-
Ability to draw lines and shapes instead of just points.
-
Geocode location from coordinates (“Run in Shoghi, Shimla).
-
Display weather data for workout time and place.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Vinayak Raj - Say Hie
Project Link: https://github.com/vinayak0127/Mapty