Changes between Version 11 and Version 12 of MapGuideRfc15


Ignore:
Timestamp:
Apr 5, 2007, 9:13:27 AM (17 years ago)
Author:
chrisclaydon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc15

    v11 v12  
    4949                                     CREFSTRING featureFilter,
    5050                                     INT32 maxFeatures,
    51                                      bool bIgnoreScaleRange,
    52                                      bool bIgnoreSelectability);
     51                                     INT32 layerAttributeFilter);
    5352
    5453 MgBatchPropertyCollection* QueryFeatureProperties(MgMap* map,
     
    5857                                                   CREFSTRING featureFilter,
    5958                                                   INT32 maxFeatures,
    60                                                    bool bIgnoreScaleRange,
    61                                                    bool bIgnoreSelectability);
     59                                                   INT32 layerAttributeFilter);
    6260}}}
    6361
     
    6765The existing HTTP operation QUERYMAPFEATURES will be updated to support the following additional parameters, if specified:
    6866
    69  IGNORESCALE=0
    70  * With the value of 0 this operation behaves exactly as the original QUERYMAPFEATURES operation.
    71    
    72  IGNORESCALE=1
    73  * With the value of 1 this operation will allow querying of data regardless of visibility at the current map scale.
     67 LAYERATTRIBUTEFILTER
     68 * This is an integer bitmask value. The bit values have the following meanings:
     69   1 = Only query features for layers that are visible
     70   2 = Only query features for layers that are selectable
     71   4 = Only query features for layers that have tooltips
    7472
    75  IGNORESELECTABILITY=0
    76  * With the value of 0 this operation behaves exactly as the original QUERYMAPFEATURES operation.
    77    
    78  IGNORESELECTABILITY=1
    79  * With the value of 1 this operation will allow querying of data regardless of whether or not the features on the layer are selectable.
    80 
     73   If this parameter is not specified, the default value used is 3 (corresponding to options 1 and 2 above), which gives the same result as the old version of QUERYMAPFEATURES.
     74   In the query used to generate tooltips, a value of 5 will be used (options 1 and 4), which allows the retrieval of tooltips even for layers that are not selectable.
    8175
    8276 FEATUREFILTER=<XML Selection String>
     
    133127
    134128The QUERYMAPFEATURES request is used to retrieve information used to generate tooltips in the AJAX viewer. The viewer will specify IGNORESELECTABILITY=1 so that tooltips can be displayed even for features that are not selectable.
     129
     130== Addendum 4 ==
     131
     132Following user feedback, removed use of individual parameters for ignoring scale ranges and selectability, and replaced with a bitmask value. This provides a cleaner implementation and leaves room for future enhancements (using new bit values) without modifying the API.