summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/geojson_tile.hpp
blob: 6ddc6ea4821febba03ad17c125ab3465a469ae90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <mbgl/tile/geometry_tile.hpp>
#include <mbgl/util/feature.hpp>

namespace mbgl {

namespace style {
class UpdateParameters;
} // namespace style

class GeoJSONTile : public GeometryTile {
public:
    GeoJSONTile(const OverscaledTileID&,
                std::string sourceID,
                const style::UpdateParameters&);

    void updateData(const mapbox::geometry::feature_collection<int16_t>&);

    void setNecessity(Necessity) final;
};

} // namespace mbgl