Skip to main content

Line Styling

Control how GeoJSON line/polyline layers are rendered — colour, width, 3D elevation, and labels.

Colour

Line layer colour mode options: Manual, Hex/color field, Gradient / categories

Three colouring modes:

ModeDescription
ManualSingle colour for all lines
Hex/color fieldMap a string field to colours per category
Gradient / categoriesMap a numeric field to a colour ramp, or a string field to per-category colours

Width

Line layer width mode options: Fixed and From dataset, with width slider

ModeDescription
FixedAll lines use the same width (1–20 px)
From datasetWidth driven by a numeric field. Set min/max width and optional overrides

3D elevation

Line layer 3D elevation mode options: Flat, Wall, Corridor

Lift lines off the ground or create 3D corridor/wall shapes.

ModeDescription
FlatLines are flat on the ground
WallLines become vertical walls extruded downward. Height from a numeric field or fixed value
CorridorLines become 3D tubes with independent width and height. Both can be fixed or from dataset fields
tip

Use Wall mode to visualise boundaries, fences, or barriers in 3D. Use Corridor mode for pipelines, tunnels, or transport routes.

Labels

Line layer label controls: show label toggle, attribute field selector, and font size

  • Enable/disable toggle
  • Attribute field — which attribute to display
  • Font size — text size

Performance with large line datasets

When a GeoJSON layer contains more than 3,000 polygon and line features combined, the platform automatically switches to a batched high-performance renderer. You do not need to do anything — the switch is transparent.

  • Clicking features, toggling visibility, and all styling options continue to work as normal
  • Changing the opacity slider on a very large layer may take a moment to apply
  • Scenario snapshots capture and restore batched layers correctly

See Performance with large datasets in the Layers Overview for full details.