libosmscout
0.1
|
#include <LabelProvider.h>
Public Member Functions | |
virtual std::string | GetLabel (const MapParameter ¶meter, const FeatureValueBuffer &buffer) const =0 |
Returns the label based on the given feature value buffer. More... | |
virtual std::string | GetName () const =0 |
Returns the name of the label provider as it must get stated in the style sheet. More... | |
virtual | ~LabelProvider ()=default |
Interface one must implement to provider a label for the map.
|
virtualdefault |
|
pure virtual |
Returns the label based on the given feature value buffer.
buffer | The FeatureValueBuffer instance |
Implemented in osmscout::DynamicFeatureLabelReader.
|
pure virtual |
Returns the name of the label provider as it must get stated in the style sheet.
Implemented in osmscout::DynamicFeatureLabelReader.