From 9676028be8393aaf616f3abd6f2a3e6bf493b54c Mon Sep 17 00:00:00 2001 From: Sudarsana Babu Nagineni Date: Mon, 4 Mar 2019 11:25:13 +0200 Subject: [WIP][core] Add Map options --- test/api/custom_geometry_source.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/api/custom_geometry_source.test.cpp') diff --git a/test/api/custom_geometry_source.test.cpp b/test/api/custom_geometry_source.test.cpp index 51d026e30d..9b8f166e03 100644 --- a/test/api/custom_geometry_source.test.cpp +++ b/test/api/custom_geometry_source.test.cpp @@ -1,6 +1,7 @@ #include #include +#include #include #include #include @@ -24,7 +25,7 @@ TEST(CustomGeometrySource, Grid) { float pixelRatio { 1 }; HeadlessFrontend frontend { pixelRatio, fileSource, *threadPool }; Map map(frontend, MapObserver::nullObserver(), frontend.getSize(), pixelRatio, fileSource, - *threadPool, MapMode::Static); + *threadPool, MapOptions().withMapMode(MapMode::Static)); map.getStyle().loadJSON(util::read_file("test/fixtures/api/water.json")); map.setLatLngZoom({ 37.8, -122.5 }, 10); -- cgit v1.2.1