Skip to content

TheDesignium/mtinspector

Repository files navigation

MTInspector

Mapbox Tileset Inspector for filtering features and inspecting properties. Supports Mapbox expression filters with live validation.

Click here to try now!

Screenshot

Features

  • Click a feature to view properties in a JSON or table popover.
  • Apply Mapbox expression filters to all geometry types.
  • Highlight selected features and show rendered feature count.
  • Dark UI by default and system dark mode support.

How is this different from Mapbox Studio?

It lets you try Mapbox filter expressions directly against live tiles.

Requirements

  • Node.js 20+
  • pnpm 9+
  • A Mapbox access token (public token is fine)
  • Tileset ID and source-layer name

Getting Started

pnpm install
pnpm dev

Open the app, then:

  1. Enter your Mapbox access token.
  2. Enter the tileset ID (e.g. account.tileset).
  3. Enter the source-layer name.
  4. Click "Load tileset".

Filter Examples

["==", ["get", "name"], "example"]
[">", ["get", "height"], 50]

Build

pnpm build
pnpm preview

About

Mapbox Tileset Inspector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published