MapLibre GL JS with Mappinest
Use MapLibre GL JS with Mappinest map styles, uploaded vector tilesets, and uploaded raster tilesets.
Overview
Choose how you want to use Mappinest in MapLibre GL JS: load a map style, add a vector tileset, or add raster tiles.

Load a Mappinest style in MapLibre GL JS
GuideUse StyleJSON when you want an available Mappinest map style such as streets, light, dark, or satellite.

Add an uploaded vector tileset in MapLibre GL JS
GuideUse TileJSON when your uploaded MBTiles or PMTiles file contains vector tiles and you want the tile template, bounds, zoom range, and source layer metadata behind one URL.

Add an uploaded raster tileset in MapLibre GL JS
GuideUse TileJSON when you want the raster tile template and zoom metadata behind one URL, or use direct raster XYZ URLs when the integration requires a tile template.
What to read next
Last updated: August 25, 2026