This web app displays a map of public art galleries in Tāmaki Makaurau, Aotearoa using Leaflet JS. Each gallery is represented by a marker, and clicking on a marker reveals a popup with the gallery's name, description, and address.
- Interactive map built with Leaflet JS
- Responsive design for mobile devices
- Custom popups with gallery information
- Data sourced from a GeoJSON file
To run the project locally, follow these steps:
- A modern web browser (e.g., Chrome, Firefox, Safari, or Edge)
-
Clone the repository to your local machine:
git clone https://github.com/et0and/whitecubes.git
-
Open the
index.html
file in your web browser.
The map should now be displayed, and you can interact with the gallery markers.
The gallery data is stored in the whitecubes.geojson
file. To add, remove, or modify gallery data, update this file.
- Leaflet JS - An open-source JavaScript library for mobile-friendly interactive maps
- OpenStreetMap - A collaborative project to create a free editable map of the world
This project is licensed under the MIT License. See the LICENSE file for details.