[core] Include pixelRatio property in MapOptions
Move pixelRatio property from Map constructor to MapOptions.
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
util::RunLoop loop;
|
||||
ThreadPool threadPool{ 4 };
|
||||
HeadlessFrontend frontend { { 1000, 1000 }, 1, threadPool };
|
||||
Map map { frontend, MapObserver::nullObserver(), 1, threadPool,
|
||||
Map map { frontend, MapObserver::nullObserver(), threadPool,
|
||||
MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize()),
|
||||
ResourceOptions().withCachePath("benchmark/fixtures/api/cache.db").withAssetPath(".").withAccessToken("foobar") };
|
||||
ScreenBox box{{ 0, 0 }, { 1000, 1000 }};
|
||||
|
||||
Reference in New Issue
Block a user