Skip to content

🗺️ This is a real-time location tracking application developed using JS, Realtime Database, and Geolocation API.

License

Notifications You must be signed in to change notification settings

emrecoban/realtimeLocationTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Realtime Location Tracker

With the help of JavaScript, Firebase Realtime Database, and HTML Geolocation API, this application allows users to track their current location in real-time and displays it on a map. It provides a seamless user experience and helps individuals keep track of their location without any hassle.

Features

  • Show realtime locations
  • Show latest locations (7) in database
  • Browser-based
  • Marker info

Usage

  1. Go to locationtracker.vercel.app in any device.
  2. Enter a nickname, and then click on the "Add my location to the map".
  3. Track only those who have been online on the map in the last 10 seconds.

Don't forget! to grant location permissions and enable location sharing.

Screenshots

homepage

Database Structure

{
  "locations": {
    "emrecoban": {
      "label": "emrecoban",
      "latitude": 41.2477,
      "longitude": 36.2395,
      "timestamp": 1680825786101,
    },
    "emre's phone": {
      "label": "emre's phone",
      "latitude": 25.2467,
      "longitude": 63.4395,
      "timestamp": 1680825786101,
    }
  }
}

Built with

  • JavaScript
  • Firebase Realtime Database
  • HTML Geolocation API
  • Google Maps API

Support

References

License

This project is available as open source under the terms of the MIT License.

About

🗺️ This is a real-time location tracking application developed using JS, Realtime Database, and Geolocation API.

Topics

Resources

License

Stars

Watchers

Forks