/Location-Tracking-using-Google-Maps-Javascript-API

This was a part of my project during my internship at WATConsult, Mumbai

Primary LanguageHTMLMIT LicenseMIT

Location-Tracking-using-Google-Maps-Javascript-API

This was a part of my project during my internship at WATConsult, Mumbai
Image
Here the red marker on the path is current location and A and B markers are starting and ending locations respectively.

To use this location tracting project, you will have to get an API Key from google: https://developers.google.com/maps/documentation/javascript/get-api-key

You will have to use a gps module to get the location and then update latitude and longitude in location.php file.
The maps.html file continuously fetches location from location.php file at intervals of 5 sec and move the marker to that position.