An open API service indexing awesome lists of open source software.

https://github.com/hananemirzaee/mapty-project

An interactive workout tracker app using Leaflet.js and Geolocation API to log running and cycling workouts on a map. Built with HTML, CSS, and JavaScript as part of an OOP learning project.
https://github.com/hananemirzaee/mapty-project

css geolocation-api html javascript leaflet-map oop-in-javascript

Last synced: about 1 month ago
JSON representation

An interactive workout tracker app using Leaflet.js and Geolocation API to log running and cycling workouts on a map. Built with HTML, CSS, and JavaScript as part of an OOP learning project.

Awesome Lists containing this project

README

          

# πŸ—ΊοΈ Mapty – Workout Tracker with Geolocation
Mapty is an interactive workout tracking application that allows users to log running and cycling workouts by clicking on a map. Built with HTML, CSS, and JavaScript, it utilizes the Leaflet library for map rendering and the Geolocation API to determine user location. This project was developed as part of the "Object-Oriented Programming (OOP)" section of Jonas Schmedtmann's JavaScript course on Udemy.

## ✨ Features
Geolocation Integration: Automatically detects and centers the map on the user's current location.

Workout Logging: Click on the map to add a new workout with details like distance, duration, and cadence or elevation.

Interactive Map: Workouts are displayed as markers on the map with popups showing workout details.

Workout List: A sidebar lists all workouts with relevant information.

Data Persistence: Workouts are stored in the browser's local storage, ensuring data remains after page reloads.

## πŸ› οΈ Technologies Used
HTML5: Structuring the application.

CSS3: Styling and layout.

JavaScript (ES6+): Application logic and interactivity.

Leaflet.js: Open-source JavaScript library for mobile-friendly interactive maps.

Geolocation API: To fetch the user's current location.

Local Storage API: For storing workout data persistently in the browser.