How to add a custom icon (SVG) to a point layer

This example illustrates how to make a map with pins to display a point layer from a MapTiler Cloud Tileset using a custom SVG icon.



Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.

Replace YOUR_MAPTILER_TILESET_ID_HERE with your actual MapTiler Tileset ID.

Replace YOUR_TILESET_LAYER_HERE with your actual Layer ID. How to get the Layer ID.

An extension of MapLibre GL JS