Interface one must implement to provider a label for the map.
More...
#include <LabelProvider.h>
|
virtual std::string | GetLabel (const MapParameter ¶meter, const FeatureValueBuffer &buffer) const =0 |
| Returns the label based on the given feature value buffer.
|
|
virtual std::string | GetName () const =0 |
| Returns the name of the label provider as it must get stated in the style sheet.
|
|
virtual | ~LabelProvider ()=default |
|
Interface one must implement to provider a label for the map.
◆ ~LabelProvider()
virtual osmscout::LabelProvider::~LabelProvider |
( |
| ) |
|
|
virtualdefault |
◆ GetLabel()
Returns the label based on the given feature value buffer.
- Parameters
-
- Returns
- The label, if the given feature has a value and a label or a empty string
Implemented in osmscout::DynamicFeatureLabelReader.
◆ GetName()
virtual std::string osmscout::LabelProvider::GetName |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: