MapLibre GL Starter
✓ Published2🌍 Public
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 descriptionA basic working starter example for using MapLibre GL and OpenMapTiles.
Inspired by OpenMapTiles: Mapbox GL JS Display a Map.
MIT Licensed