[mapguide-trac] #1986: Stylization: allow retrieving visibility
information
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Apr 25 13:33:23 EDT 2012
#1986: Stylization: allow retrieving visibility information
---------------------------+------------------------------------------------
Reporter: danstoica | Owner:
Type: enhancement | Status: new
Priority: low | Milestone:
Component: General | Version: 2.1.0
Severity: trivial | Keywords:
External_id: |
---------------------------+------------------------------------------------
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);
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1986>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list