# datasette-maplibre 0.1a0

> Source: <https://simonwillison.net/2026/Nov/15/datasette-maplibre/>
> Published: 2026-11-15 23:58:36+00:00

**Release:** [datasette-maplibre 0.1a0](https://github.com/datasette/datasette-maplibre/releases/tag/0.1a0)

The first new Datasette geospatial plugin in quite a while! This one combines the excellent [MapLibre GL](https://maplibre.org/maplibre-gl-js/docs/) library with [OpenFreeMap](https://openfreemap.org), the free vector map server operated by Zsolt Ero (you should [sponsor Zsolt on GitHub](https://github.com/sponsors/hyperknot).)

I built most of this with a single prompt to Claude Fable 5.2:

`Look at datasette-cluster-map and datasette-leaflet-geojson plugins, then look at ~/dev/tools/openfreemap-demo.html - then build a brand new Datasette plugin that uses maplibreGL and openfreemap and combines the features of those other two plugins - but be creative and think outside the box for other useful features the plugin might have`

"Be creative and think outside the box" resulted in a few neat ideas - my favorite is that it displays SVG previews of GeoJSON shapes, then loads a WebGL preview only when they scroll into view.

I also had Claude build a comprehensive demo which works in the latest Datasette Lite, so you can [visit this link](https://lite.datasette.io/?install=datasette-maplibre&url=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba99a75cbb8b5d9386223220eb52272767ee/demo.db&metadata=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba99a75cbb8b5d9386223220eb52272767ee/metadata.yml) to load the plugin and a demo database in your browser via Pyodide and WebAssembly.

I like [this demo page](https://lite.datasette.io/?install=datasette-maplibre&url=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba99a75cbb8b5d9386223220eb52272767ee/demo.db&metadata=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba99a75cbb8b5d9386223220eb52272767ee/metadata.yml#/demo/capitals_and_countries) showing both GeoJSON shapes and lat/lon points on the same map:

Tags: [visualization](https://simonwillison.net/tags/visualization), [generative-ai](https://simonwillison.net/tags/generative-ai), [datasette-lite](https://simonwillison.net/tags/datasette-lite), [claude-mythos-fable](https://simonwillison.net/tags/claude-mythos-fable), [ai](https://simonwillison.net/tags/ai), [llms](https://simonwillison.net/tags/llms), [geospatial](https://simonwillison.net/tags/geospatial), [openstreetmap](https://simonwillison.net/tags/openstreetmap), [datasette](https://simonwillison.net/tags/datasette)
