/whitecubes

A directory of all public galleries in Tāmaki Makaurau, Aotearoa

Primary LanguageJavaScriptMIT LicenseMIT

Whitecubes

Screenshot of Whitecubes

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.

Features

  • Interactive map built with Leaflet JS
  • Responsive design for mobile devices
  • Custom popups with gallery information
  • Data sourced from a GeoJSON file

Getting Started

To run the project locally, follow these steps:

Prerequisites

  • A modern web browser (e.g., Chrome, Firefox, Safari, or Edge)

Running the project

  1. Clone the repository to your local machine: git clone https://github.com/et0and/whitecubes.git

  2. Open the index.html file in your web browser.

The map should now be displayed, and you can interact with the gallery markers.

Data Source

The gallery data is stored in the whitecubes.geojson file. To add, remove, or modify gallery data, update this file.

Built With

  • 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

License

This project is licensed under the MIT License. See the LICENSE file for details.