Leaflet with Mappinest
Use Leaflet with Mappinest map styles, uploaded vector or raster tilesets, and editable datasets.
Overview
Choose how you want to use Mappinest in Leaflet. Load a map style, add a vector or raster tileset, or render an editable dataset.

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.
Add an editable dataset in Leaflet
GuideFetch the latest published dataset revision as one GeoJSON FeatureCollection and render points, lines, or polygons in the map client.

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: September 13, 2026