summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/symbol_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/layers/symbol_layer.hpp')
-rw-r--r--include/mbgl/style/layers/symbol_layer.hpp232
1 files changed, 116 insertions, 116 deletions
diff --git a/include/mbgl/style/layers/symbol_layer.hpp b/include/mbgl/style/layers/symbol_layer.hpp
index 93275e6dd2..2493df6046 100644
--- a/include/mbgl/style/layers/symbol_layer.hpp
+++ b/include/mbgl/style/layers/symbol_layer.hpp
@@ -26,38 +26,46 @@ public:
// Layout properties
- static PropertyValue<SymbolPlacementType> getDefaultSymbolPlacement();
- const PropertyValue<SymbolPlacementType>& getSymbolPlacement() const;
- void setSymbolPlacement(const PropertyValue<SymbolPlacementType>&);
-
- static PropertyValue<float> getDefaultSymbolSpacing();
- const PropertyValue<float>& getSymbolSpacing() const;
- void setSymbolSpacing(const PropertyValue<float>&);
-
- static PropertyValue<bool> getDefaultSymbolAvoidEdges();
- const PropertyValue<bool>& getSymbolAvoidEdges() const;
- void setSymbolAvoidEdges(const PropertyValue<bool>&);
-
- static PropertyValue<float> getDefaultSymbolSortKey();
- const PropertyValue<float>& getSymbolSortKey() const;
- void setSymbolSortKey(const PropertyValue<float>&);
-
- static PropertyValue<SymbolZOrderType> getDefaultSymbolZOrder();
- const PropertyValue<SymbolZOrderType>& getSymbolZOrder() const;
- void setSymbolZOrder(const PropertyValue<SymbolZOrderType>&);
-
static PropertyValue<bool> getDefaultIconAllowOverlap();
const PropertyValue<bool>& getIconAllowOverlap() const;
void setIconAllowOverlap(const PropertyValue<bool>&);
+ static PropertyValue<SymbolAnchorType> getDefaultIconAnchor();
+ const PropertyValue<SymbolAnchorType>& getIconAnchor() const;
+ void setIconAnchor(const PropertyValue<SymbolAnchorType>&);
+
static PropertyValue<bool> getDefaultIconIgnorePlacement();
const PropertyValue<bool>& getIconIgnorePlacement() const;
void setIconIgnorePlacement(const PropertyValue<bool>&);
+ static PropertyValue<std::string> getDefaultIconImage();
+ const PropertyValue<std::string>& getIconImage() const;
+ void setIconImage(const PropertyValue<std::string>&);
+
+ static PropertyValue<bool> getDefaultIconKeepUpright();
+ const PropertyValue<bool>& getIconKeepUpright() const;
+ void setIconKeepUpright(const PropertyValue<bool>&);
+
+ static PropertyValue<std::array<float, 2>> getDefaultIconOffset();
+ const PropertyValue<std::array<float, 2>>& getIconOffset() const;
+ void setIconOffset(const PropertyValue<std::array<float, 2>>&);
+
static PropertyValue<bool> getDefaultIconOptional();
const PropertyValue<bool>& getIconOptional() const;
void setIconOptional(const PropertyValue<bool>&);
+ static PropertyValue<float> getDefaultIconPadding();
+ const PropertyValue<float>& getIconPadding() const;
+ void setIconPadding(const PropertyValue<float>&);
+
+ static PropertyValue<AlignmentType> getDefaultIconPitchAlignment();
+ const PropertyValue<AlignmentType>& getIconPitchAlignment() const;
+ void setIconPitchAlignment(const PropertyValue<AlignmentType>&);
+
+ static PropertyValue<float> getDefaultIconRotate();
+ const PropertyValue<float>& getIconRotate() const;
+ void setIconRotate(const PropertyValue<float>&);
+
static PropertyValue<AlignmentType> getDefaultIconRotationAlignment();
const PropertyValue<AlignmentType>& getIconRotationAlignment() const;
void setIconRotationAlignment(const PropertyValue<AlignmentType>&);
@@ -74,41 +82,33 @@ public:
const PropertyValue<std::array<float, 4>>& getIconTextFitPadding() const;
void setIconTextFitPadding(const PropertyValue<std::array<float, 4>>&);
- static PropertyValue<std::string> getDefaultIconImage();
- const PropertyValue<std::string>& getIconImage() const;
- void setIconImage(const PropertyValue<std::string>&);
-
- static PropertyValue<float> getDefaultIconRotate();
- const PropertyValue<float>& getIconRotate() const;
- void setIconRotate(const PropertyValue<float>&);
-
- static PropertyValue<float> getDefaultIconPadding();
- const PropertyValue<float>& getIconPadding() const;
- void setIconPadding(const PropertyValue<float>&);
+ static PropertyValue<bool> getDefaultSymbolAvoidEdges();
+ const PropertyValue<bool>& getSymbolAvoidEdges() const;
+ void setSymbolAvoidEdges(const PropertyValue<bool>&);
- static PropertyValue<bool> getDefaultIconKeepUpright();
- const PropertyValue<bool>& getIconKeepUpright() const;
- void setIconKeepUpright(const PropertyValue<bool>&);
+ static PropertyValue<SymbolPlacementType> getDefaultSymbolPlacement();
+ const PropertyValue<SymbolPlacementType>& getSymbolPlacement() const;
+ void setSymbolPlacement(const PropertyValue<SymbolPlacementType>&);
- static PropertyValue<std::array<float, 2>> getDefaultIconOffset();
- const PropertyValue<std::array<float, 2>>& getIconOffset() const;
- void setIconOffset(const PropertyValue<std::array<float, 2>>&);
+ static PropertyValue<float> getDefaultSymbolSortKey();
+ const PropertyValue<float>& getSymbolSortKey() const;
+ void setSymbolSortKey(const PropertyValue<float>&);
- static PropertyValue<SymbolAnchorType> getDefaultIconAnchor();
- const PropertyValue<SymbolAnchorType>& getIconAnchor() const;
- void setIconAnchor(const PropertyValue<SymbolAnchorType>&);
+ static PropertyValue<float> getDefaultSymbolSpacing();
+ const PropertyValue<float>& getSymbolSpacing() const;
+ void setSymbolSpacing(const PropertyValue<float>&);
- static PropertyValue<AlignmentType> getDefaultIconPitchAlignment();
- const PropertyValue<AlignmentType>& getIconPitchAlignment() const;
- void setIconPitchAlignment(const PropertyValue<AlignmentType>&);
+ static PropertyValue<SymbolZOrderType> getDefaultSymbolZOrder();
+ const PropertyValue<SymbolZOrderType>& getSymbolZOrder() const;
+ void setSymbolZOrder(const PropertyValue<SymbolZOrderType>&);
- static PropertyValue<AlignmentType> getDefaultTextPitchAlignment();
- const PropertyValue<AlignmentType>& getTextPitchAlignment() const;
- void setTextPitchAlignment(const PropertyValue<AlignmentType>&);
+ static PropertyValue<bool> getDefaultTextAllowOverlap();
+ const PropertyValue<bool>& getTextAllowOverlap() const;
+ void setTextAllowOverlap(const PropertyValue<bool>&);
- static PropertyValue<AlignmentType> getDefaultTextRotationAlignment();
- const PropertyValue<AlignmentType>& getTextRotationAlignment() const;
- void setTextRotationAlignment(const PropertyValue<AlignmentType>&);
+ static PropertyValue<SymbolAnchorType> getDefaultTextAnchor();
+ const PropertyValue<SymbolAnchorType>& getTextAnchor() const;
+ void setTextAnchor(const PropertyValue<SymbolAnchorType>&);
static PropertyValue<expression::Formatted> getDefaultTextField();
const PropertyValue<expression::Formatted>& getTextField() const;
@@ -118,81 +118,75 @@ public:
const PropertyValue<std::vector<std::string>>& getTextFont() const;
void setTextFont(const PropertyValue<std::vector<std::string>>&);
- static PropertyValue<float> getDefaultTextSize();
- const PropertyValue<float>& getTextSize() const;
- void setTextSize(const PropertyValue<float>&);
-
- static PropertyValue<float> getDefaultTextMaxWidth();
- const PropertyValue<float>& getTextMaxWidth() const;
- void setTextMaxWidth(const PropertyValue<float>&);
-
- static PropertyValue<float> getDefaultTextLineHeight();
- const PropertyValue<float>& getTextLineHeight() const;
- void setTextLineHeight(const PropertyValue<float>&);
-
- static PropertyValue<float> getDefaultTextLetterSpacing();
- const PropertyValue<float>& getTextLetterSpacing() const;
- void setTextLetterSpacing(const PropertyValue<float>&);
+ static PropertyValue<bool> getDefaultTextIgnorePlacement();
+ const PropertyValue<bool>& getTextIgnorePlacement() const;
+ void setTextIgnorePlacement(const PropertyValue<bool>&);
static PropertyValue<TextJustifyType> getDefaultTextJustify();
const PropertyValue<TextJustifyType>& getTextJustify() const;
void setTextJustify(const PropertyValue<TextJustifyType>&);
- static PropertyValue<float> getDefaultTextRadialOffset();
- const PropertyValue<float>& getTextRadialOffset() const;
- void setTextRadialOffset(const PropertyValue<float>&);
+ static PropertyValue<bool> getDefaultTextKeepUpright();
+ const PropertyValue<bool>& getTextKeepUpright() const;
+ void setTextKeepUpright(const PropertyValue<bool>&);
- static PropertyValue<std::vector<TextVariableAnchorType>> getDefaultTextVariableAnchor();
- const PropertyValue<std::vector<TextVariableAnchorType>>& getTextVariableAnchor() const;
- void setTextVariableAnchor(const PropertyValue<std::vector<TextVariableAnchorType>>&);
+ static PropertyValue<float> getDefaultTextLetterSpacing();
+ const PropertyValue<float>& getTextLetterSpacing() const;
+ void setTextLetterSpacing(const PropertyValue<float>&);
- static PropertyValue<SymbolAnchorType> getDefaultTextAnchor();
- const PropertyValue<SymbolAnchorType>& getTextAnchor() const;
- void setTextAnchor(const PropertyValue<SymbolAnchorType>&);
+ static PropertyValue<float> getDefaultTextLineHeight();
+ const PropertyValue<float>& getTextLineHeight() const;
+ void setTextLineHeight(const PropertyValue<float>&);
static PropertyValue<float> getDefaultTextMaxAngle();
const PropertyValue<float>& getTextMaxAngle() const;
void setTextMaxAngle(const PropertyValue<float>&);
- static PropertyValue<float> getDefaultTextRotate();
- const PropertyValue<float>& getTextRotate() const;
- void setTextRotate(const PropertyValue<float>&);
+ static PropertyValue<float> getDefaultTextMaxWidth();
+ const PropertyValue<float>& getTextMaxWidth() const;
+ void setTextMaxWidth(const PropertyValue<float>&);
+
+ static PropertyValue<std::array<float, 2>> getDefaultTextOffset();
+ const PropertyValue<std::array<float, 2>>& getTextOffset() const;
+ void setTextOffset(const PropertyValue<std::array<float, 2>>&);
+
+ static PropertyValue<bool> getDefaultTextOptional();
+ const PropertyValue<bool>& getTextOptional() const;
+ void setTextOptional(const PropertyValue<bool>&);
static PropertyValue<float> getDefaultTextPadding();
const PropertyValue<float>& getTextPadding() const;
void setTextPadding(const PropertyValue<float>&);
- static PropertyValue<bool> getDefaultTextKeepUpright();
- const PropertyValue<bool>& getTextKeepUpright() const;
- void setTextKeepUpright(const PropertyValue<bool>&);
+ static PropertyValue<AlignmentType> getDefaultTextPitchAlignment();
+ const PropertyValue<AlignmentType>& getTextPitchAlignment() const;
+ void setTextPitchAlignment(const PropertyValue<AlignmentType>&);
- static PropertyValue<TextTransformType> getDefaultTextTransform();
- const PropertyValue<TextTransformType>& getTextTransform() const;
- void setTextTransform(const PropertyValue<TextTransformType>&);
+ static PropertyValue<float> getDefaultTextRadialOffset();
+ const PropertyValue<float>& getTextRadialOffset() const;
+ void setTextRadialOffset(const PropertyValue<float>&);
- static PropertyValue<std::array<float, 2>> getDefaultTextOffset();
- const PropertyValue<std::array<float, 2>>& getTextOffset() const;
- void setTextOffset(const PropertyValue<std::array<float, 2>>&);
+ static PropertyValue<float> getDefaultTextRotate();
+ const PropertyValue<float>& getTextRotate() const;
+ void setTextRotate(const PropertyValue<float>&);
- static PropertyValue<bool> getDefaultTextAllowOverlap();
- const PropertyValue<bool>& getTextAllowOverlap() const;
- void setTextAllowOverlap(const PropertyValue<bool>&);
+ static PropertyValue<AlignmentType> getDefaultTextRotationAlignment();
+ const PropertyValue<AlignmentType>& getTextRotationAlignment() const;
+ void setTextRotationAlignment(const PropertyValue<AlignmentType>&);
- static PropertyValue<bool> getDefaultTextIgnorePlacement();
- const PropertyValue<bool>& getTextIgnorePlacement() const;
- void setTextIgnorePlacement(const PropertyValue<bool>&);
+ static PropertyValue<float> getDefaultTextSize();
+ const PropertyValue<float>& getTextSize() const;
+ void setTextSize(const PropertyValue<float>&);
- static PropertyValue<bool> getDefaultTextOptional();
- const PropertyValue<bool>& getTextOptional() const;
- void setTextOptional(const PropertyValue<bool>&);
+ static PropertyValue<TextTransformType> getDefaultTextTransform();
+ const PropertyValue<TextTransformType>& getTextTransform() const;
+ void setTextTransform(const PropertyValue<TextTransformType>&);
- // Paint properties
+ static PropertyValue<std::vector<TextVariableAnchorType>> getDefaultTextVariableAnchor();
+ const PropertyValue<std::vector<TextVariableAnchorType>>& getTextVariableAnchor() const;
+ void setTextVariableAnchor(const PropertyValue<std::vector<TextVariableAnchorType>>&);
- static PropertyValue<float> getDefaultIconOpacity();
- const PropertyValue<float>& getIconOpacity() const;
- void setIconOpacity(const PropertyValue<float>&);
- void setIconOpacityTransition(const TransitionOptions&);
- TransitionOptions getIconOpacityTransition() const;
+ // Paint properties
static PropertyValue<Color> getDefaultIconColor();
const PropertyValue<Color>& getIconColor() const;
@@ -200,6 +194,12 @@ public:
void setIconColorTransition(const TransitionOptions&);
TransitionOptions getIconColorTransition() const;
+ static PropertyValue<float> getDefaultIconHaloBlur();
+ const PropertyValue<float>& getIconHaloBlur() const;
+ void setIconHaloBlur(const PropertyValue<float>&);
+ void setIconHaloBlurTransition(const TransitionOptions&);
+ TransitionOptions getIconHaloBlurTransition() const;
+
static PropertyValue<Color> getDefaultIconHaloColor();
const PropertyValue<Color>& getIconHaloColor() const;
void setIconHaloColor(const PropertyValue<Color>&);
@@ -212,11 +212,11 @@ public:
void setIconHaloWidthTransition(const TransitionOptions&);
TransitionOptions getIconHaloWidthTransition() const;
- static PropertyValue<float> getDefaultIconHaloBlur();
- const PropertyValue<float>& getIconHaloBlur() const;
- void setIconHaloBlur(const PropertyValue<float>&);
- void setIconHaloBlurTransition(const TransitionOptions&);
- TransitionOptions getIconHaloBlurTransition() const;
+ static PropertyValue<float> getDefaultIconOpacity();
+ const PropertyValue<float>& getIconOpacity() const;
+ void setIconOpacity(const PropertyValue<float>&);
+ void setIconOpacityTransition(const TransitionOptions&);
+ TransitionOptions getIconOpacityTransition() const;
static PropertyValue<std::array<float, 2>> getDefaultIconTranslate();
const PropertyValue<std::array<float, 2>>& getIconTranslate() const;
@@ -230,18 +230,18 @@ public:
void setIconTranslateAnchorTransition(const TransitionOptions&);
TransitionOptions getIconTranslateAnchorTransition() const;
- static PropertyValue<float> getDefaultTextOpacity();
- const PropertyValue<float>& getTextOpacity() const;
- void setTextOpacity(const PropertyValue<float>&);
- void setTextOpacityTransition(const TransitionOptions&);
- TransitionOptions getTextOpacityTransition() const;
-
static PropertyValue<Color> getDefaultTextColor();
const PropertyValue<Color>& getTextColor() const;
void setTextColor(const PropertyValue<Color>&);
void setTextColorTransition(const TransitionOptions&);
TransitionOptions getTextColorTransition() const;
+ static PropertyValue<float> getDefaultTextHaloBlur();
+ const PropertyValue<float>& getTextHaloBlur() const;
+ void setTextHaloBlur(const PropertyValue<float>&);
+ void setTextHaloBlurTransition(const TransitionOptions&);
+ TransitionOptions getTextHaloBlurTransition() const;
+
static PropertyValue<Color> getDefaultTextHaloColor();
const PropertyValue<Color>& getTextHaloColor() const;
void setTextHaloColor(const PropertyValue<Color>&);
@@ -254,11 +254,11 @@ public:
void setTextHaloWidthTransition(const TransitionOptions&);
TransitionOptions getTextHaloWidthTransition() const;
- static PropertyValue<float> getDefaultTextHaloBlur();
- const PropertyValue<float>& getTextHaloBlur() const;
- void setTextHaloBlur(const PropertyValue<float>&);
- void setTextHaloBlurTransition(const TransitionOptions&);
- TransitionOptions getTextHaloBlurTransition() const;
+ static PropertyValue<float> getDefaultTextOpacity();
+ const PropertyValue<float>& getTextOpacity() const;
+ void setTextOpacity(const PropertyValue<float>&);
+ void setTextOpacityTransition(const TransitionOptions&);
+ TransitionOptions getTextOpacityTransition() const;
static PropertyValue<std::array<float, 2>> getDefaultTextTranslate();
const PropertyValue<std::array<float, 2>>& getTextTranslate() const;