Skip to content

Compass Indicator

The Compass Indicator is a small symbol, 48 px across, that shows one direction: the heading, the course or north. It is meant to sit next to a readout or in a dense overview, where a full Compass does not fit. It is found in the Maritime - OpenBridge section of the Perspective Component Palette as Compass Indicator.

Compass Indicator showing a heading of 40°

It is one of the indicators of the maritime instruments: it has no scale, state or priority. See Instruments and Indicators.

A Compass Indicator dropped from the palette shows a heading of 0°:

Compass Indicator with default properties

Bind angle to the direction in degrees. direction selects what the symbol stands for, and type how it is drawn. The images show an angle of 40°:

direction regular (default) labeled
heading (default) Heading, regular Heading, labeled
course Course, regular Course, labeled
north North, regular North, labeled
  • heading — a filled arrow, like the heading arrow of the Compass.
  • course — an outlined arrow, like the course-over-ground arrow.
  • north — a compass needle.
  • regular — the arrow or needle on a small compass face.
  • labeled — for heading and course, the arrow in a frame under the nearest of the letters N, E, S and W; for north, the needle around the nearest of the eight compass points (N, NE, E, …).

The letter of the labeled type follows the angle:

0 100 200 290
Labeled N Labeled E Labeled S Labeled W
Name Description Property Type
angle Direction in degrees. Default 0. value
direction heading, course or north. Default heading. value
type regular or labeled. Default regular. value

With northUp true (the default) the compass face stays with north up and the arrow turns to angle. With northUp false the arrow stays pointing up and the face turns instead — the heading-up presentation. The small grey triangle on the face marks north.

direction northUp = true northUp = false
heading Heading, north up Heading, heading up
course Course, north up Course, heading up

northUp only changes the regular type with direction heading or course. The north needle and the labeled type look the same either way.

Name Description Property Type
northUp Keep the face north up and turn the arrow; false turns the face. Default true. value

The symbol is always 48 × 48 px and sits at the top left of the component’s box; it does not grow with the box. A new component is 48 × 53. The blue frame is the component’s box:

Compass Indicator in a large box


Properties not covered in the sections above:

Name Description Property Type
style Standard Perspective style object. object

The Compass Indicator has no component events of its own.

  1. Drop a Compass Indicator to the left of a readout of the heading.
  2. Bind angle to [default]Nav/Heading.
  3. Set type to labeled, so the indicator also shows the nearest cardinal direction.

Built on the OpenBridge Design System