1#pragma once
2
3#include <mbgl/tile/geometry_tile.hpp>
4#include <mbgl/tile/tile_loader.hpp>
5
6namespace mbgl {
7
8class Tileset;
9class TileParameters;
10
11class VectorTile : public GeometryTile {
12public:
13 VectorTile(const OverscaledTileID&,
14 std::string sourceID,
15 const TileParameters&,
16 const Tileset&);
17
18 void setNecessity(TileNecessity) final;
19 void setMetadata(optional<Timestamp> modified, optional<Timestamp> expires);
20 void setData(std::shared_ptr<const std::string> data);
21
22private:
23 TileLoader<VectorTile> loader;
24};
25
26} // namespace mbgl
27

source code of qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/tile/vector_tile.hpp