Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#1986 closed enhancement (fixed)
Stylization: allow retrieving visibility information
|Reported by:||danstoica||Owned by:|
Let's assume a layer has range styles or thematic rules. The Default Stylizer checks these constrains for feature and may decide not to draw. The issue is on the client side because these rules are owned by the Stylizer and the client needs a way to filter out the invisible features.
The solution is to expose these rules. The proposal is to add 2 public new methods on the Default Stylizer class:
Returns true if a valid range was found. Returns false otherwise. virtual bool HasValidScaleRange (MdfModel::VectorLayerDefinition* layer, double mapScale);
Returns a Filter containing the combined thematic rules. Returns NULL in case there are no rules. virtual FdoFilter * GetRulesFilter(MdfModel::VectorLayerDefinition* layer, double mapScale);
Change History (3)
comment:1 by , 11 years ago
|Status:||new → closed|
comment:2 by , 11 years ago
can this be applied to the 2.4 branch as well?
comment:3 by , 11 years ago
This enhancement ticket simply exposes some helper methods. In the 2.4 branch who would be using these?
I've reviewed Dan's fix and submitted it.