[core] Split MapMode::Still into Static and Tile
`Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
This commit is contained in:
committed by
Chris Loer
parent
5bdee52e5c
commit
22c07596a0
@@ -72,14 +72,14 @@ public:
|
||||
HeadlessFrontend frontend;
|
||||
Map map;
|
||||
|
||||
MapTest(float pixelRatio = 1, MapMode mode = MapMode::Still)
|
||||
MapTest(float pixelRatio = 1, MapMode mode = MapMode::Static)
|
||||
: frontend(pixelRatio, fileSource, threadPool)
|
||||
, map(frontend, observer, frontend.getSize(), pixelRatio, fileSource, threadPool, mode) {
|
||||
}
|
||||
|
||||
template <typename T = FileSource>
|
||||
MapTest(const std::string& cachePath, const std::string& assetRoot,
|
||||
float pixelRatio = 1, MapMode mode = MapMode::Still,
|
||||
float pixelRatio = 1, MapMode mode = MapMode::Static,
|
||||
typename std::enable_if<std::is_same<T, DefaultFileSource>::value>::type* = 0)
|
||||
: fileSource { cachePath, assetRoot }
|
||||
, frontend(pixelRatio, fileSource, threadPool)
|
||||
|
||||
Reference in New Issue
Block a user