@@ -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;
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
LayoutProperty<LineCapType> lineCap { LineCapType::Butt };
|
||||
LayoutProperty<LineJoinType> lineJoin { LineJoinType::Miter };
|
||||
LayoutProperty<float> lineMiterLimit { 2 };
|
||||
LayoutProperty<float> lineRoundLimit { 1.05 };
|
||||
LayoutProperty<float> lineRoundLimit { 1 };
|
||||
};
|
||||
|
||||
class LinePaintProperties {
|
||||
|
||||
Reference in New Issue
Block a user