On this page

    Style a GeoJSON Line layer (polyline helper)

    This example demonstrates the process of incorporating and customizing a GeoJSON line layer on the map by utilizing the polyline layer helper. In this specific case, we will generate a line that is purple and has a border in gray. You can access the sample data by downloading the Blue Hills sample data.

    
    
    An extension of MapLibre GL JS

    Was this helpful?

    SDK JS
    Examples
    Style a GeoJSON Line layer (polyline helper)
    Style a GeoJSON Line layer (polyline helper)