TileServer GL
Geospatial app component · Free
A vector and raster map server: MBTiles, styles, and MapLibre GL Native rendering for your own maps in browsers and mobile apps.
What you can use for free
The open source component used locally or self-hosted for the stated workflow, within its license terms.
Paid features and costs
Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.
Access and limitations
Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.
Use cases
- Serve tiles for your own map
- Run the server and check the map at several zoom levels and screen sizes
Example workflow
A possible workflow; this is not a report of hands-on testing.
Serve tiles for your own map
Before you start
- An MBTiles region, style, fonts, and map client.
- A test project and completion criteria for the task: Serve tiles for your own map.
Steps
- Set up TileServer GL to test: An MBTiles region, style, fonts, and map client.
- Run the server and check the map at several zoom levels and screen sizes.
- Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Check your result
- Check tile, font, and data licenses; map attribution remains visible.
- Check the result against a reference example; separately confirm the terms of any assets and external services used.
Choosing TileServer GL
Serve tiles for your own map
Choose this when
- Serve tiles for your own map
- Run the server and check the map at several zoom levels and screen sizes
Requirements
- Prepare your own tiles, style, and configuration; install native dependencies for the full npm version.
Things to consider
- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
- Terms of use: Apache-2.0
- For a public server, the README recommends --public_url or restricting TILESERVER_GL_ALLOWED_HOSTS so response URLs do not depend on an arbitrary Host header. The server does not automatically provide rights to map data.
Frequently asked questions
What can you use for free in TileServer GL?
The openly available portion, used locally or self-hosted for the stated use case within its license terms.
What additional costs might arise with TileServer GL?
Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
What terms of use matter for TileServer GL?
Apache-2.0
How do you get started with TileServer GL?
Set up TileServer GL to test: An MBTiles region, style, fonts, and map client. Run the server and check the map at several zoom levels and screen sizes. Integrate the checked version into your project; document its configuration, limitations, and recovery method.
How does TileServer GL Light differ from the full version?
The full version uses MapLibre GL Native for server-side raster rendering of vector tiles. Light is written in JavaScript without native dependencies, but does not perform that rasterization. The server works with MBTiles and style/config files; the current README’s npm path requires Node.js 20+, recommends 24, and offers Docker separately.
License
Apache-2.0
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsTechnologies and topics
- TileServer GL
- Geospatial application component