MapLibre GL Vector

Visualize GeoJSON, GeoPackage, Shapefile, GeoParquet, FlatGeobuf, and CSV on MapLibre GL JS, powered by DuckDB-WASM

Basic Example

Vanilla TypeScript example: load GeoJSON, GeoParquet, GeoPackage, and CSV, with dynamic DuckDB tiles for large data.

Vanilla JS TypeScript

React Example

React example demonstrating the VectorControlReact wrapper, useVectorState hook, and the programmatic API.

React TypeScript