Skip to content

Line Styling

Overview

This section details the configurable visual attributes which are unique to line geometries within Mapworks:

  • Line Profile (Cap, Join, Dash)
  • Line Width
  • Line Markers

To configure line styling:

  1. In the sidebar, select the Layers Tab
  2. Right click on the layer and click Styles

Line Styles Editor

  1. Click the Line Styling Tab

Styles Editor Line Tab

Line Profile

In the Line Styling Tab, you can define how lines are rendered by specifying the style of their ends, corners, and dash patterns.

  • Line Cap – End cap for each line
  • Line Join – Style for polygon corners
  • Line Dash – Line fill style (solid, dashed, dotted)

Line Styling Tab

Line Cap Join Dash

Line Width

When assigning the width for lines in a layer, there are two modes:

  • Fixed Width – fixed width for all zoom scales
  • Scale-dependent width – line width is generated at each scale based on configured range

📄 Note

Line Width is configured in the Geometry Tab

To configure scale-dependent width lines:

  1. In the sidebar, select the Layers Tab
  2. Right click on a line layer and click Styles

Line Styles Editor

  1. In the Geometry Tab under Line Width, choose "Scale-dependent width"

Styles Editor Geometry Tab

  1. Select a minimum/maximum Scale Range and minimum/maximum Line Width

📄 Note

At scales outside the defined boundary, the relevant minimum/maximum width is used.

Scale Dependant Width

Line Markers

Line markers are icons which can be placed at fixed points along a line.

📄 Note

Line markers require a Glyph or Texture icon to first be defined.

To add Line Markers:

  1. In the sidebar, select the Layers Tab
  2. Right click on a line layer and click Styles

Line Styles Editor

  1. Click on the Glyphs Tab or Textures Tab and assign an icon

Line Markers Texture

  1. Click on the Line Tab

Line Styling Tab

  1. Check the Enable Marker Placement box and click Add New Item

Enable Line Markers

  1. Click the +/- buttons to add or remove markers
  2. Enter the positions as percentages of the line distance or drag the slider to the desired position

Line Markers Position

Line Marker Example

Colour, opacity, size, rotation and offset options are configured similarly to point layers.

Check the Rotate Marker box to automatically orientate the markers to follow the direction of the lines.

Line Markers