TileServer GL logo

TileServer GL

Map tile server for vector and raster maps with GL styles and MapLibre GL Native rendering

Repository activity
  • Stars2.8k
  • Forks703
  • Open Issues253
maptiler-tileserver-gl health score - Linux Foundation Insights
License

Other

Languages
  • JavaScript
  • Go Template
  • CSS
TileServer GL screenshot

About TileServer GL

TileServer GL is a map tile server for vector and raster maps with GL styles. It serves tiles to MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, and GIS clients via WMTS, reading vector tiles from MBTiles files such as OpenMapTiles downloads.

The full build renders vector tiles to raster images on the server with MapLibre GL Native. A lighter tileserver-gl-light build is pure JavaScript with no native dependencies and runs anywhere, but drops server-side rasterization.

It installs through npm or runs as a Docker image and needs Node.js 20+. For public-facing use it accepts a canonical public URL or an allowed-hosts list to mitigate host header poisoning. The repo is maintained by MapTiler.

Key features

  • Serves vector and raster maps with GL styles
  • Server-side rendering with MapLibre GL Native
  • Serves to MapLibre GL JS, Leaflet, OpenLayers, WMTS
  • tileserver-gl-light build is pure JavaScript
  • Public URL and allowed-hosts options for deployments

Details

First released
2016
Latest release
v5.6.0 · Apr 2026
Deployment
self-hostable · docker
Runtime
Node.js 20+
Rendering
MapLibre GL Native
Storage
MBTiles