From 853da02101cbddef58c287d63637b98ccfd1bd05 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Tue, 1 Sep 2015 17:18:12 -0400 Subject: [PATCH] drop ratio from RenderOptions --- platform/node/src/node_map.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp index a24f0c46b..6fd044dae 100644 --- a/platform/node/src/node_map.cpp +++ b/platform/node/src/node_map.cpp @@ -15,7 +15,6 @@ struct NodeMap::RenderOptions { double longitude = 0; unsigned int width = 512; unsigned int height = 512; - float ratio = 1.0f; std::vector classes; }; @@ -147,7 +146,6 @@ std::unique_ptr NodeMap::ParseOptions(v8::LocalHas(NanNew("width"))) { options->width = obj->Get(NanNew("width"))->IntegerValue(); } if (obj->Has(NanNew("height"))) { options->height = obj->Get(NanNew("height"))->IntegerValue(); } - if (obj->Has(NanNew("ratio"))) { options->ratio = obj->Get(NanNew("ratio"))->IntegerValue(); } if (obj->Has(NanNew("classes"))) { auto classes = obj->Get(NanNew("classes"))->ToObject().As();