Skip to main content

Module objects

Module objects 

Source
Expand description

Data types consumed by the Map widget.

This module contains the geometry primitives (RawPoint, RawLine), the map content types (MapPoint, MapSegment, MapLabel) and the customization points of the widget: MapSettings, MapStyle, VisibilitySetting, ContextMenuManager and NodeTemplate.

Structs§

MapLabel
A free-floating text label drawn on the map.
MapPoint
A node on the map: an id, a 2D position and an optional display name.
MapSegment
A connection line between two points on the map, ready to be stored in an rstar::RTree.
MapSettings
Configuration of a Map widget.
MapStyle
Visual style used to paint the map under a given theme.
RawLine
A straight line segment between two RawPoints.
RawPoint
A point (or vector) in 2D map coordinates.

Enums§

NodeAnimation
A built-in effect that plays once and ends.
SteadyAnimation
A built-in effect that runs until it is cleared.
VisibilitySetting
Controls when the name of a node is displayed next to it.

Traits§

ContextMenuManager
Provides the contents of the widget’s right-click context menu.
NodeTemplate
Customizes how nodes and their visual effects are rendered.