Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MapLibre GL Starter

Public visualization

Viewing a saved revision (read-only)

77acd774a770491d8fa7f13a47c52318

MapLibre GL Starter

0 stars2🌍 Public
CCurran Kelleher
Last edited Dec 20, 2020
Created on Dec 10, 2020
Forked from HTML Starter

This example displays an interactive world map using MapLibre GL and OpenMapTiles. The map is rendered with a dark matter style from Maptiler, centered on coordinates [8, 15] with an initial zoom level of one. The code initializes a `mapboxgl.Map` object, specifying the container element, the style URL, and the default view. This starter serves as a minimal foundation for building map-based visualizations with these libraries.

AI-generated description

A basic working starter example for using MapLibre GL and OpenMapTiles.

Inspired by OpenMapTiles: Mapbox GL JS Display a Map.