MapLibre Native Core
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Typedefs
a
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerations
a
b
c
e
f
h
i
k
l
m
n
o
r
s
t
v
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Functions
a
b
e
i
m
o
s
t
Files
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
types.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
mbgl
{
6
7
namespace
style {
8
9
// TODO: should be in public source.hpp header
10
enum class
SourceType
: uint8_t {
11
Vector
,
12
Raster
,
13
RasterDEM
,
14
GeoJSON
,
15
Video
,
16
Annotations
,
17
Image
,
18
CustomVector
19
};
20
21
enum class
VisibilityType
: bool {
22
Visible
,
23
None
,
24
};
25
26
enum class
LineCapType
: uint8_t {
27
Round
,
28
Butt
,
29
Square
,
30
};
31
32
enum class
LineJoinType
: uint8_t {
33
Miter
,
34
Bevel
,
35
Round
,
36
// the following two types are for internal use only
37
FakeRound
,
38
FlipBevel
39
};
40
41
enum class
RasterResamplingType
: bool {
42
Linear
,
43
Nearest
44
};
45
46
enum class
HillshadeIlluminationAnchorType
: bool {
47
Map
,
48
Viewport
49
};
50
51
enum class
TranslateAnchorType
: bool {
52
Map
,
53
Viewport
54
};
55
56
enum class
RotateAnchorType
: bool {
57
Map
,
58
Viewport
,
59
};
60
61
enum class
CirclePitchScaleType
: bool {
62
Map
,
63
Viewport
,
64
};
65
66
enum class
SymbolPlacementType
: uint8_t {
67
Point
,
68
Line
,
69
LineCenter
70
};
71
72
enum class
SymbolZOrderType
: uint8_t {
73
Auto
,
74
ViewportY
,
75
Source
76
};
77
78
enum class
AlignmentType
: uint8_t {
79
Map
,
80
Viewport
,
81
Auto
,
82
};
83
84
enum class
TextJustifyType
: uint8_t {
85
Auto
,
86
Center
,
87
Left
,
88
Right
89
};
90
91
enum class
SymbolAnchorType
: uint8_t {
92
Center
,
93
Left
,
94
Right
,
95
Top
,
96
Bottom
,
97
TopLeft
,
98
TopRight
,
99
BottomLeft
,
100
BottomRight
101
};
102
103
using
TextVariableAnchorType
=
SymbolAnchorType
;
104
105
enum class
TextTransformType
: uint8_t {
106
None
,
107
Uppercase
,
108
Lowercase
,
109
};
110
111
enum class
IconTextFitType
: uint8_t {
112
None
,
113
Both
,
114
Width
,
115
Height
116
};
117
118
enum class
TextWritingModeType
: uint8_t {
119
Horizontal
,
120
Vertical
121
};
122
123
enum class
LightAnchorType
: bool {
124
Map
,
125
Viewport
126
};
127
128
}
// namespace style
129
}
// namespace mbgl
mbgl::style::TranslateAnchorType
TranslateAnchorType
Definition:
types.hpp:51
mbgl::style::TranslateAnchorType::Map
@ Map
mbgl::style::TranslateAnchorType::Viewport
@ Viewport
mbgl::style::TextTransformType
TextTransformType
Definition:
types.hpp:105
mbgl::style::TextTransformType::Uppercase
@ Uppercase
mbgl::style::TextTransformType::None
@ None
mbgl::style::TextTransformType::Lowercase
@ Lowercase
mbgl::style::CirclePitchScaleType
CirclePitchScaleType
Definition:
types.hpp:61
mbgl::style::CirclePitchScaleType::Map
@ Map
mbgl::style::CirclePitchScaleType::Viewport
@ Viewport
mbgl::style::LineCapType
LineCapType
Definition:
types.hpp:26
mbgl::style::LineCapType::Butt
@ Butt
mbgl::style::LineCapType::Round
@ Round
mbgl::style::LineCapType::Square
@ Square
mbgl::style::AlignmentType
AlignmentType
Definition:
types.hpp:78
mbgl::style::AlignmentType::Auto
@ Auto
mbgl::style::AlignmentType::Map
@ Map
mbgl::style::AlignmentType::Viewport
@ Viewport
mbgl::style::TextWritingModeType
TextWritingModeType
Definition:
types.hpp:118
mbgl::style::TextWritingModeType::Vertical
@ Vertical
mbgl::style::TextWritingModeType::Horizontal
@ Horizontal
mbgl::style::HillshadeIlluminationAnchorType
HillshadeIlluminationAnchorType
Definition:
types.hpp:46
mbgl::style::HillshadeIlluminationAnchorType::Map
@ Map
mbgl::style::HillshadeIlluminationAnchorType::Viewport
@ Viewport
mbgl::style::IconTextFitType
IconTextFitType
Definition:
types.hpp:111
mbgl::style::IconTextFitType::Both
@ Both
mbgl::style::IconTextFitType::Width
@ Width
mbgl::style::IconTextFitType::None
@ None
mbgl::style::IconTextFitType::Height
@ Height
mbgl::style::SymbolAnchorType
SymbolAnchorType
Definition:
types.hpp:91
mbgl::style::SymbolAnchorType::TopRight
@ TopRight
mbgl::style::SymbolAnchorType::Bottom
@ Bottom
mbgl::style::SymbolAnchorType::Center
@ Center
mbgl::style::SymbolAnchorType::BottomRight
@ BottomRight
mbgl::style::SymbolAnchorType::Right
@ Right
mbgl::style::SymbolAnchorType::Left
@ Left
mbgl::style::SymbolAnchorType::BottomLeft
@ BottomLeft
mbgl::style::SymbolAnchorType::Top
@ Top
mbgl::style::SymbolAnchorType::TopLeft
@ TopLeft
mbgl::style::VisibilityType
VisibilityType
Definition:
types.hpp:21
mbgl::style::VisibilityType::None
@ None
mbgl::style::VisibilityType::Visible
@ Visible
mbgl::style::RotateAnchorType
RotateAnchorType
Definition:
types.hpp:56
mbgl::style::RotateAnchorType::Map
@ Map
mbgl::style::RotateAnchorType::Viewport
@ Viewport
mbgl::style::LightAnchorType
LightAnchorType
Definition:
types.hpp:123
mbgl::style::LightAnchorType::Map
@ Map
mbgl::style::LightAnchorType::Viewport
@ Viewport
mbgl::style::RasterResamplingType
RasterResamplingType
Definition:
types.hpp:41
mbgl::style::RasterResamplingType::Linear
@ Linear
mbgl::style::RasterResamplingType::Nearest
@ Nearest
mbgl::style::SymbolPlacementType
SymbolPlacementType
Definition:
types.hpp:66
mbgl::style::SymbolPlacementType::Point
@ Point
mbgl::style::SymbolPlacementType::Line
@ Line
mbgl::style::SymbolPlacementType::LineCenter
@ LineCenter
mbgl::style::SourceType
SourceType
Definition:
types.hpp:10
mbgl::style::SourceType::Video
@ Video
mbgl::style::SourceType::Vector
@ Vector
mbgl::style::SourceType::Raster
@ Raster
mbgl::style::SourceType::Annotations
@ Annotations
mbgl::style::SourceType::Image
@ Image
mbgl::style::SourceType::GeoJSON
@ GeoJSON
mbgl::style::SourceType::CustomVector
@ CustomVector
mbgl::style::SourceType::RasterDEM
@ RasterDEM
mbgl::style::SymbolZOrderType
SymbolZOrderType
Definition:
types.hpp:72
mbgl::style::SymbolZOrderType::Auto
@ Auto
mbgl::style::SymbolZOrderType::ViewportY
@ ViewportY
mbgl::style::SymbolZOrderType::Source
@ Source
mbgl::style::LineJoinType
LineJoinType
Definition:
types.hpp:32
mbgl::style::LineJoinType::Bevel
@ Bevel
mbgl::style::LineJoinType::FakeRound
@ FakeRound
mbgl::style::LineJoinType::FlipBevel
@ FlipBevel
mbgl::style::LineJoinType::Round
@ Round
mbgl::style::LineJoinType::Miter
@ Miter
mbgl::style::TextJustifyType
TextJustifyType
Definition:
types.hpp:84
mbgl::style::TextJustifyType::Auto
@ Auto
mbgl::style::TextJustifyType::Center
@ Center
mbgl::style::TextJustifyType::Right
@ Right
mbgl::style::TextJustifyType::Left
@ Left
mbgl
Definition:
actor.hpp:15
include
mbgl
style
types.hpp
MapLibre website
|
GitHub repository