Use Deck.gl with Vector Tiles

This Quickstart Deck.gl example is the easiest and fastest way to use your MapTiler vector tiles basemaps in Deck.gl. Simply use the code below the map.

In addition to vector tiles, you also have the option to utilize traditional raster tiles for your basemaps. This flexibility allows you to choose the best basemap option that suits your specific needs and preferences. Whether you opt for vector tiles or raster tiles, both options provide a solid foundation for your mapping projects in Deck.gl.

Hold down the shift key to rotate the map

MapTiler SDK controls do not work when used in reverse-controlled mode. To use SDK controls, follow How to display a Deck.gl layers interleaved in MapTiler SDK JS



Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.