Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of MapLibre GL Starter

Public visualization

Fork of MapLibre GL Starter

0 stars0๐ŸŒ Public
BBill Dullemond
Last edited Jun 2, 2021
Created on May 21, 2021

This example demonstrates a minimal interactive map centered on [8, 15] at zoom level 1, using a dark basemap style from MapTiler. The page loads MapLibre GL v1.13.0-rc.3 via unpkg, initializes a map through `new mapboxgl.Map`, and configures the container, style URL, center, and zoom. The map fills the viewport with absolute positioning, and CSS outlines the canvas with a focus-visible indicator for keyboard accessibility. No additional data layers or interactions are implemented beyond the base map display.

AI-generated description

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

Inspired by OpenMapTiles: Mapbox GL JS Display a Map.

Comments

Sign in to join the discussion.

MIT Licensed