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
geojson.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mbgl/util/geojson.hpp
>
4
#include <
mbgl/style/conversion.hpp
>
5
6
#include <optional>
7
8
namespace
mbgl
{
9
namespace
style {
10
namespace
conversion {
11
12
// Workaround until https://github.com/mapbox/mapbox-gl-native/issues/5623 is done.
13
std::optional<GeoJSON>
parseGeoJSON
(
const
std::string
&,
Error
&);
14
15
template
<>
16
struct
Converter
<
GeoJSON
> {
17
public
:
18
std::optional<GeoJSON>
operator()
(
const
Convertible
&,
Error
&)
const
;
19
};
20
21
}
// namespace conversion
22
}
// namespace style
23
}
// namespace mbgl
mbgl::style::conversion::Convertible
Definition:
conversion_impl.hpp:96
conversion.hpp
mbgl::style::conversion::parseGeoJSON
std::optional< GeoJSON > parseGeoJSON(const std::string &, Error &)
mbgl::style::expression::dsl::string
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
mbgl
Definition:
actor.hpp:15
mbgl::GeoJSON
mapbox::geojson::geojson GeoJSON
Definition:
geojson.hpp:8
mbgl::style::conversion::Converter< GeoJSON >::operator()
std::optional< GeoJSON > operator()(const Convertible &, Error &) const
mbgl::style::conversion::Converter
Definition:
conversion.hpp:21
mbgl::style::conversion::Error
Definition:
conversion.hpp:13
geojson.hpp
include
mbgl
style
conversion
geojson.hpp
MapLibre website
|
GitHub repository