[core, node, darwin, android, qt] Make image ID part of Image
More like Source and Layer.
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
map.setStyleJSON(util::read_file("benchmark/fixtures/api/query_style.json"));
|
||||
map.setLatLngZoom({ 40.726989, -73.992857 }, 15); // Manhattan
|
||||
map.addImage("test-icon", std::make_unique<style::Image>(
|
||||
map.addImage(std::make_unique<style::Image>("test-icon",
|
||||
decodeImage(util::read_file("benchmark/fixtures/api/default_marker.png")), 1.0));
|
||||
|
||||
mbgl::benchmark::render(map, view);
|
||||
|
||||
Reference in New Issue
Block a user