---
title: "Deck.gl with MapTiler maps | Deck gl"
description: "Display MapTiler maps using the Deck.gl WebGL library."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Deck.gl with MapTiler maps

[Deck.gl](https://deck.gl/) is a framework powered by WebGL for visual exploratory data analysis of large datasets.

Within Deck.gl, you have the option to incorporate MapTiler SDK either in interleaved mode (rendering directly into MapTiler SDK WebGL context) or reverse-controlled mode (renders deck.gl above the MapTiler SDK container and blocks any interaction to the base map).

Deck.gl is **not a map library**. Instead, it is a high-performance data visualization framework designed to works standalone without a base map. Deck.gl integrates with mapping libraries such as MapTiler SDK, MapLibre, etc.

## Get started

This is the easiest and fastest way to use your MapTiler maps in Deck.gl in interleaved mode. For reverse-controlled mode see: [How to use Vector Tiles in Deck.gl](./examples/interleaved/)

Deck.gl allows a great diversification of visualizations. Like the one shown in the following example, where the `ArcLayer` is used to represent raised arc linking source and destination coordinate pair and `ScatterplotLayer` is used to show affected area. Simply use the code below the map.

main.js

index.html

style.css

Replace `YOUR_MAPTILER_API_KEY_HERE` with [your own API key](https://cloud.maptiler.com/account/keys/). Make sure to [secure the key](https://docs.maptiler.com/guides/credentials/api-key/#secure-key) before you publish it.

## Related examples

### [GeoJSON in Deck.gl](https://docs.maptiler.com/deck-gl/examples/geojson/)

Examples

Visualize GeoJSON layers and arc connections in Deck.gl.

### [Interleaved Deck.gl layer](https://docs.maptiler.com/deck-gl/examples/interleaved/)

Examples

Interleave Deck.gl layers with MapTiler SDK JS maps.

### [Buildings Deck.gl MVT layer](https://docs.maptiler.com/deck-gl/examples/mvt-extrude/)

Examples

Render extruded building layers in Deck.gl using Vector Tiles.

### [POIs info Deck.gl MVT layer](https://docs.maptiler.com/deck-gl/examples/mvt-tooltip/)

Examples

Display MVT POI layers with tooltips in Deck.gl.

### [3D Terrain](https://docs.maptiler.com/deck-gl/examples/3d-terrain/)

Examples

Display realistic 3D terrain in Deck.gl using MapTiler.
