Skip to main content

Line Layer

The LineLayer is either used by the map style or can be added to the map programmatically to symbolize data on the map.

Line Layer

Basic Usage

Check out the example app to learn more.

Style

Use the paint property to style your LineLayer to change the style of the map.

See the MapLibre Style Specification for all available properties.

Layout

Use the layout property to change how the lines behave on the map.