1#pragma once
2
3#include <mbgl/style/sources/raster_source.hpp>
4#include <mbgl/util/tileset.hpp>
5#include <mbgl/util/variant.hpp>
6
7namespace mbgl {
8
9class AsyncRequest;
10
11namespace style {
12
13class RasterDEMSource : public RasterSource {
14public:
15 RasterDEMSource(std::string id, variant<std::string, Tileset> urlOrTileset, uint16_t tileSize);
16
17};
18
19template <>
20inline bool Source::is<RasterDEMSource>() const {
21 return getType() == SourceType::RasterDEM;
22}
23
24} // namespace style
25} // namespace mbgl
26

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/style/sources/raster_dem_source.hpp