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:
Mikhail Pozdnyakov
2018-08-07 18:02:43 +03:00
committed by Bruno de Oliveira Abinader
parent 1dabfe783d
commit 0ec4a84c31
3 changed files with 8 additions and 8 deletions

View File

@@ -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