Skip to content

nilsingwersen/maplibre-globe

Repository files navigation

MapLibre Globe Example

A minimal example showcasing MapLibre GL JS's 3D globe projection capabilities without any framework dependencies.

Overview

This project demonstrates how to implement MapLibre GL JS's 3D globe visualization using vanilla JavaScript. It provides a simple, framework-free implementation that can serve as a starting point for more complex globe-based mapping applications.

Getting Started

  1. Clone this repository:

    git clone https://github.com/yourusername/maplibre-globe.git
    cd maplibre-globe
    pnpm install
  2. Run the dev server:

  pnpm run dev

Features

  • 3D globe visualization
  • Interactive pan and zoom
  • Framework-free implementation
  • Minimal setup required

Docs