Skip to content

diepchiaser/mapty-course

Repository files navigation

Mapty Application (learning course javascript)

Tiếng Việt

Overview

Mapty is an advanced workout tracking application that leverages geolocation and mapping technologies to allow users to log and visualize their workouts. It combines the power of maps with your workout data, creating an interactive experience for users. By Jonas Schmedtmann.

Features

  • Current Features:

    • Log running and cycling workouts.
    • View workouts on a map.
    • Save workouts to LocalStorage.
    • View total distance and duration for all workouts.
    • Filter workouts by type.
  • Upcoming Features:

    • Edit workout: Allow users to edit existing workout details such as distance, time, and type.
    • Delete workout: Provide users with the option to delete individual workouts.
    • Clear all workouts: A feature to delete all workouts at once.
    • Sort workouts: Enable sorting workouts based on different criteria such as date, distance, or duration.
    • Persist workouts from LocalStorage to an object: Automatically load and save workout data as objects to maintain consistency.
    • Error message display: Show informative error messages when a workout cannot be logged or other issues occur.
    • Display all workouts on one map: Show all logged workouts on the same map, even if they are at different geographical locations.
    • Draw routes for workouts: Connect the workouts with lines on the map to show routes taken.
    • Add geographical names in markers: Include the name of the location on the map marker for each workout.
    • Add corresponding weather information: Display the weather conditions at the time and location of the workout.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/mapty.git
  2. Open the project directory:
    cd mapty
  3. Open index.html in your browser.

Usage

  • Start logging your workouts by entering the necessary details and clicking "Save".
  • View your logged workouts on the map.
  • Use upcoming features to further enhance your experience!

Contributing

We welcome contributions! Please fork the repository, create a new branch, and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published