Use with Vector Tiles

This Quickstart example is the easiest and fastest way to use your MapTiler vector tiles basemaps in 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

Hold down the shift key to rotate the map

Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.

Learn more

Related examples