Rename EvaluationContext::heatmapDensity to colorRampParameter
More generic name as the same class member is to be used by the linear gradient properties.
This commit is contained in:
committed by
Bruno de Oliveira Abinader
parent
1dabfe783d
commit
0ec4a84c31
@@ -28,9 +28,9 @@ public:
|
||||
};
|
||||
|
||||
|
||||
EvaluationResult Expression::evaluate(optional<float> zoom, const Feature& feature, optional<double> heatmapDensity) const {
|
||||
EvaluationResult Expression::evaluate(optional<float> zoom, const Feature& feature, optional<double> colorRampParameter) const {
|
||||
GeoJSONFeature f(feature);
|
||||
return this->evaluate(EvaluationContext(zoom, &f, heatmapDensity));
|
||||
return this->evaluate(EvaluationContext(zoom, &f, colorRampParameter));
|
||||
}
|
||||
|
||||
} // namespace expression
|
||||
|
||||
Reference in New Issue
Block a user