[benchmark] add render benchmarks
This commit is contained in:
committed by
Ivo van Dongen
parent
35b90618b7
commit
ba32831260
@@ -24,7 +24,7 @@ public:
|
||||
NetworkStatus::Set(NetworkStatus::Status::Offline);
|
||||
fileSource.setAccessToken("foobar");
|
||||
|
||||
map.getStyle().loadJSON(util::read_file("benchmark/fixtures/api/query_style.json"));
|
||||
map.getStyle().loadJSON(util::read_file("benchmark/fixtures/api/style.json"));
|
||||
map.setLatLngZoom({ 40.726989, -73.992857 }, 15); // Manhattan
|
||||
map.getStyle().addImage(std::make_unique<style::Image>("test-icon",
|
||||
decodeImage(util::read_file("benchmark/fixtures/api/default_marker.png")), 1.0));
|
||||
|
||||
Reference in New Issue
Block a user