Rename HeatmapColorPropertyValue to ColorRampPropertyValue

Based on patch from @lbud (Lauren Budorick).

Give `HeatmapColorPropertyValue` a more generic name,
since the same value type will be used for both `heatmap-color`
and `line-gradient` properties.
This commit is contained in:
Mikhail Pozdnyakov
2018-07-04 23:12:58 +03:00
parent 32dce870d7
commit 514485502d
17 changed files with 59 additions and 54 deletions

View File

@@ -100,7 +100,7 @@ global.propertyValueType = function (property) {
case 'cross-faded-data-driven':
return `DataDrivenPropertyValue<${evaluatedType(property)}>`;
case 'color-ramp':
return `HeatmapColorPropertyValue`;
return `ColorRampPropertyValue`;
default:
return `PropertyValue<${evaluatedType(property)}>`;
}