Add a KML Line layer (polyline helper)
This example shows the process of incorporating a KML line layer into the map by utilizing the polyline layer helper. You can download the KML track sample data for this example.
Related examples
An extension of MapLibre GL JS