Skip to main content

Line Styling

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

Colour

Three colouring modes:

ModeDescription
ManualSingle colour for all lines
From datasetMap a string field to colours per category
GradientMap a numeric field to a colour ramp

Width

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

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

ModeDescription
NoneLines 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

  • Enable/disable toggle
  • 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.