blob: af103f4c7ef31ee2daef1604583ca2df7128c7b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include <mbgl/style/source_impl.hpp>
#include <mbgl/style/sources/custom_vector_source.hpp>
#include <mbgl/tile/tile_id.hpp>
#include <mbgl/actor/actor_ref.hpp>
namespace mbgl {
namespace style {
class CustomVectorSource::Impl : public Source::Impl {
public:
Impl(std::string id, GeoJSONOptions options);
Impl(const Impl&, ActorRef<CustomTileLoader>);
optional<std::string> getAttribution() const final;
GeoJSONOptions getOptions() const;
optional<ActorRef<CustomTileLoader>> getTileLoader() const;
private:
GeoJSONOptions options;
optional<ActorRef<CustomTileLoader>> loaderRef;
};
} // namespace style
} // namespace mbgl
|