blob: e0bbd85af7c054fe30815d06519abe8888af0513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <mbgl/style/sources/custom_vector_source.hpp>
#include <mbgl/style/sources/custom_vector_source_impl.hpp>
namespace mbgl {
namespace style {
CustomVectorSource::CustomVectorSource(std::string id,
const GeoJSONOptions options,
FetchTileFunction fetchTileFn)
: Source(makeMutable<CustomVectorSource::Impl>(std::move(id), options, fetchTileFn)) {
}
void CustomVectorSource::loadDescription(FileSource&) {
loaded = true;
}
} // namespace style
} // namespace mbgl
|