Welcome to PooPee, a simple web application that helps you find nearby toilets using JavaScript and the Leaflet library.
PooPee is a web application built using HTML, CSS, and vanilla JavaScript. It utilizes the Leaflet library to display a map interface and provides functionalities to find the closest toilet to the user's current location, view toilet details, and get directions using Waze.
You can check out the live demo of PooPee here: PooPee Demo
- Find the closest toilet to your current location.
- View toilet details including accessibility, rating, and more.
- Get directions to the nearest toilet using Waze.
To run the project locally, you need to have a modern web browser and a text editor. No additional dependencies are required as the project uses Leaflet and vanilla JavaScript.
-
Clone this repository to your local machine:
git clone https://github.com/Reem-Nosbaum/poopee.git
-
Navigate to the project directory:
cd poopee
-
Open the index.html file in your preferred web browser to see the application in action.
- Click the "Go to my location" button to center the map on your current location.
- Click the "Find me a toilet near me!" button to find the closest toilet to your location. The map will display a line between your location and the closest toilet.
- Click the "Directions" button to open Waze and get directions to the nearest toilet.
- Click the "Details" button to view details about the nearest toilet, including accessibility and rating.
Contributions to this project are welcome. If you find any issues or would like to enhance the application, feel free to submit a pull request. Please follow the existing coding style and guidelines.