Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This pull request introduces a new feature to the `app/src/app/Views/Admin/Inventory.php` file, which enhances the user experience by utilizing the user's geolocation to interact with the map. Geolocation feature: * Added code to obtain the user's current position using the `navigator.geolocation.getCurrentPosition` method, and create a marker on the map at the user's location. * Included functionality to center the map on the user's location and adjust the zoom level for better visibility. * Implemented error handling to log any issues encountered while obtaining the user's location. * Configured geolocation options for higher accuracy, a timeout limit, and to always use fresh data.
- Loading branch information