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:
@@ -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)}>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user