Skip to content

vedansha07/MeowLocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Location Tracker

A responsive and mobile-friendly web application that tracks a user's real-time GPS location and provides the ability to download the collected data as a JSON file.

Features

  • Track your location in real-time with updates every 5 seconds
  • Visualize your location and movement path on an interactive map
  • Download your location history as a JSON file
  • Simple, intuitive interface that works on both desktop and mobile devices

How to Use

  1. Open the index.html file in a modern web browser
  2. Allow location permissions when prompted
  3. Click the "Start" button to begin tracking your location
  4. Your current position will be displayed on the map with a marker
  5. Your movement path will be visualized as a blue line
  6. Click "Stop" to pause tracking
  7. Click "Download JSON" to save your location data

Technical Details

This application is built using:

  • HTML5, CSS3, and JavaScript (ES6+)
  • Leaflet.js for the interactive map
  • HTML5 Geolocation API for accessing location data

Data Format

The downloaded JSON file follows this format:

[
  {
    "latitude": 17.385044,
    "longitude": 78.486671,
    "timestamp": "2024-07-20T10:00:00Z"
  },
  {
    "latitude": 17.385045,
    "longitude": 78.486672,
    "timestamp": "2024-07-20T10:00:05Z"
  }
]

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published