#include <LabelLayouter.h>
|
| bool | basemap {false} |
| | true when label is for object from basemap database
|
| size_t | priority {std::numeric_limits<size_t>::max()} |
| | LabelPriority is used to determine the order of labels and to decide which label to show when there is a collision.
|
| ObjectFileRef | ref |
◆ LabelPriority() [1/2]
| osmscout::LabelPriority::LabelPriority |
( |
| ) |
|
|
default |
◆ LabelPriority() [2/2]
| osmscout::LabelPriority::LabelPriority |
( |
size_t | priority, |
|
|
bool | basemap, |
|
|
const ObjectFileRef & | ref ) |
|
inline |
◆ operator!=()
| bool osmscout::LabelPriority::operator!= |
( |
const LabelPriority & | other | ) |
const |
|
inline |
◆ operator<()
| bool osmscout::LabelPriority::operator< |
( |
const LabelPriority & | other | ) |
const |
|
inline |
◆ operator<=()
| bool osmscout::LabelPriority::operator<= |
( |
const LabelPriority & | other | ) |
const |
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const LabelPriority & | prio ) |
|
friend |
◆ basemap
| bool osmscout::LabelPriority::basemap {false} |
◆ priority
| size_t osmscout::LabelPriority::priority {std::numeric_limits<size_t>::max()} |
LabelPriority is used to determine the order of labels and to decide which label to show when there is a collision.
- priority is defined by the stylesheet
- basemap flag is here to give precedence to labels from ordinary map databases before world overview (basemap)
- ref is used for providing stable output for two labels with the same priority (and basemap flag) Priority from the stylesheet
Referenced by LabelPriority(), operator!=(), operator<(), operator<<, and operator<=().
◆ ref
The documentation for this struct was generated from the following file: