Skip to main content
100%

MapLibre GL Starter

✓ Published2🌍 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.

MIT Licensed

Similar vizzes