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

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

Add an uploaded vector tileset in Leaflet
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 Leaflet
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.

Use Leaflet.VectorGrid with an uploaded vector tileset
AlternativeChoose this Leaflet-native path when you need feature clicks, popups, or Leaflet plugin workflows around vector tiles.
What to read next
Last updated: August 25, 2026