[core] private OffscreenView implementation

This commit is contained in:
Konstantin Käfer
2017-02-24 16:03:31 +01:00
parent e3500c1f79
commit 9ca9adf69c
11 changed files with 86 additions and 57 deletions

View File

@@ -97,7 +97,7 @@ TEST(CustomLayer, Basic) {
ThreadPool threadPool(4);
Map map(backend, view.size, 1, fileSource, threadPool, MapMode::Still);
Map map(backend, view.getSize(), 1, fileSource, threadPool, MapMode::Still);
map.setStyleJSON(util::read_file("test/fixtures/api/water.json"));
map.setLatLngZoom({ 37.8, -122.5 }, 10);
map.addLayer(std::make_unique<CustomLayer>(