From 47d6903f4e41cc3d4a0bacc1c1938ef8ede642ca Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 6 Jun 2016 12:45:40 -0700 Subject: [core] Revert line-round-limit default to 1 (#5260) Refs #5258, #5234. --- scripts/generate-style-code.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js index 0f2dcdc42c..6379598446 100644 --- a/scripts/generate-style-code.js +++ b/scripts/generate-style-code.js @@ -46,6 +46,11 @@ global.propertyType = function (property) { } global.defaultValue = function (property) { + // https://github.com/mapbox/mapbox-gl-native/issues/5258 + if (property.name === 'line-round-limit') { + return 1; + } + switch (property.type) { case 'number': return property.default; -- cgit v1.2.1