nz-elevation-map

NZ Elevation Map

A 3D elevation map of New Zealand using MapLibre GL JS, Svelte 5, and Tailwind CSS.

Features

Tech Stack

Setup

  1. Install dependencies:
    npm install
    
  2. Environment Variables: Create a .env file in the root directory and add your LINZ API key: ```env VITE_LINZ_API_KEY=your_linz_api_key_here

Developing

Once you’ve created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.