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
layer.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mbgl/style/layer.hpp
>
4
#include <
mbgl/style/conversion.hpp
>
5
6
#include <memory>
7
#include <optional>
8
9
namespace
mbgl
{
10
namespace
style {
11
namespace
conversion {
12
13
template
<>
14
struct
Converter<
std
::unique_ptr<Layer>> {
15
public
:
16
std::optional<std::unique_ptr<Layer>> operator()(
const
Convertible& value, Error&
error
)
const
;
17
};
18
19
std::optional<Error>
setPaintProperties
(Layer& layer,
const
Convertible
& value);
20
21
}
// namespace conversion
22
}
// namespace style
23
}
// namespace mbgl
mbgl::style::conversion::Convertible
Definition:
conversion_impl.hpp:96
conversion.hpp
layer.hpp
mbgl::style::conversion::setPaintProperties
std::optional< Error > setPaintProperties(Layer &layer, const Convertible &value)
mbgl::style::expression::dsl::error
std::unique_ptr< Expression > error(std::string)
mbgl
Definition:
actor.hpp:15
std
Definition:
tile_id.hpp:256
include
mbgl
style
conversion
layer.hpp
MapLibre website
|
GitHub repository