[core] *TileMonitor => *TileSource

This commit is contained in:
Konstantin Käfer
2016-05-19 15:34:08 +02:00
parent 6998479d05
commit e8d8f52d2e
21 changed files with 309 additions and 240 deletions

View File

@@ -66,20 +66,4 @@ private:
mutable std::map<std::string, util::ptr<GeometryTileLayer>> layers;
};
class TileID;
class FileSource;
class VectorTileMonitor : public GeometryTileMonitor {
public:
VectorTileMonitor(const OverscaledTileID&, float pixelRatio, const std::string& urlTemplate, FileSource&);
std::unique_ptr<AsyncRequest> monitorTile(const GeometryTileMonitor::Callback&) override;
private:
OverscaledTileID tileID;
float pixelRatio;
std::string urlTemplate;
FileSource& fileSource;
};
} // namespace mbgl