.. | |||
images | 10 years ago | ||
javascript | 10 years ago | ||
mysql | 10 years ago | ||
styles | 11 years ago | ||
README.md | 10 years ago | ||
dbconnect.php | 10 years ago | ||
deleteroute.php | 11 years ago | ||
displaymap.php | 10 years ago | ||
getgpslocations.php | 10 years ago | ||
getrouteformap.php | 10 years ago | ||
getroutes.php | 10 years ago | ||
updatelocation.php | 11 years ago |
The php version of GpsTracker is now updated to v3 of google maps, jquery and leaflet. The database file is in the mysql directory and this needs to be installed from the command line, please read the quick start guide to see how to do that:
https://www.websmithing.com/2014/01/20/quick-start-guide-for-gpstracker-3/#phpserver
If you want to turn on the adsense advertisement in the map, then change line 8 of google.js to enabled:
var adsense_status = 'enabled';
and add your adsense channel number and publisher id to line 206 and 207:
user_adsense.channelNumber = "YOUR_CHANNEL_NUMBER"; user_adsense.publisherID = "YOUR_PUBLISHER_ID";
https://github.com/nickfox/GpsTracker/blob/master/servers/php/javascript/leaflet-plugins/google.js