summaryrefslogtreecommitdiff
path: root/src/mbgl/style/types.cpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-07-06 13:09:15 -0700
committerChris Loer <chris.loer@mapbox.com>2018-07-23 13:33:27 -0700
commitf9b36f9f5b4cf09e08c2ff0181b339b53e8d0014 (patch)
treec1dbbdd657d7f5edee1defb239773576e43d27d0 /src/mbgl/style/types.cpp
parent870d7fda4d5b65d9a4993f35322678bc6f50767c (diff)
downloadqtlocation-mapboxgl-f9b36f9f5b4cf09e08c2ff0181b339b53e8d0014.tar.gz
[core] Add `symbol-placement: line-center`
- Remove unused/vestigial 'maxCameraDistance' - Create a single collision circle for line labels that are less than half the width of a collision circle
Diffstat (limited to 'src/mbgl/style/types.cpp')
-rw-r--r--src/mbgl/style/types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/types.cpp b/src/mbgl/style/types.cpp
index bcaa9e87c7..46de0173de 100644
--- a/src/mbgl/style/types.cpp
+++ b/src/mbgl/style/types.cpp
@@ -62,6 +62,7 @@ MBGL_DEFINE_ENUM(LineJoinType, {
MBGL_DEFINE_ENUM(SymbolPlacementType, {
{ SymbolPlacementType::Point, "point" },
{ SymbolPlacementType::Line, "line" },
+ { SymbolPlacementType::LineCenter, "line-center" },
});
MBGL_DEFINE_ENUM(SymbolAnchorType, {