summaryrefslogtreecommitdiff
path: root/include/llmr/style/bucket_description.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/style/bucket_description.hpp')
-rw-r--r--include/llmr/style/bucket_description.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llmr/style/bucket_description.hpp b/include/llmr/style/bucket_description.hpp
index c935d50613..0a750e113e 100644
--- a/include/llmr/style/bucket_description.hpp
+++ b/include/llmr/style/bucket_description.hpp
@@ -35,6 +35,7 @@ inline BucketType bucketType(const std::string& type) {
if (type == "fill") return BucketType::Fill;
else if (type == "line") return BucketType::Line;
else if (type == "point") return BucketType::Point;
+ else if (type == "text") return BucketType::Text;
else return BucketType::None;
}
@@ -58,6 +59,7 @@ public:
CapType cap = CapType::None;
JoinType join = JoinType::None;
std::string font;
+ std::string text_field;
float font_size = 0.0f;
float miter_limit = 2.0f;
float round_limit = 1.0f;
@@ -65,6 +67,7 @@ public:
class BucketDescription {
public:
+ BucketType feature_type = BucketType::None;
BucketType type = BucketType::None;
// Specify what data to pull into this bucket