I currently have a custom WordPress plugin for order tracking developed previously. I would like to upgrade it by adding a real-time location tracking feature for delivery drivers. The new functionality should include the following: Real-time tracking (advanced feature): Create a secure login access for delivery drivers. After logging in, the driver should be able to authorize location access from their mobile device. The plugin must capture and update the driver’s location in real time. Customers should be able to view the live delivery location directly from the tracking page. The tracking data should update automatically without requiring manual refresh. Technical requirements: Integration with Google Maps API / Geolocation API Mobile-friendly functionality (drivers will use smartphones) Secure handling of location permissions Efficient performance without affecting site speed Compatibility with the existing tracking plugin structure