diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-13 11:38:18 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-14 11:25:45 -0700 |
commit | 9b0093e32dece62abc6fd7add789613871252a58 (patch) | |
tree | d6e8f90b12d64c41d4f95d9433e2dfca58be4f60 /src/mbgl/style/sources/raster_source.hpp | |
parent | 7080196bf6b749de5f25b298c0acf49cced20b1e (diff) | |
download | qtlocation-mapboxgl-9b0093e32dece62abc6fd7add789613871252a58.tar.gz |
[core] Introduce source subclasses
Diffstat (limited to 'src/mbgl/style/sources/raster_source.hpp')
-rw-r--r-- | src/mbgl/style/sources/raster_source.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mbgl/style/sources/raster_source.hpp b/src/mbgl/style/sources/raster_source.hpp new file mode 100644 index 0000000000..1b04865464 --- /dev/null +++ b/src/mbgl/style/sources/raster_source.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include <mbgl/style/source.hpp> + +namespace mbgl { +namespace style { + +class RasterSource : public Source { +public: + RasterSource(std::string id, + std::string url, + uint16_t tileSize, + std::unique_ptr<Tileset>&&, + std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>&&); +}; + +} // namespace style +} // namespace mbgl |