Changes between Version 11 and Version 12 of MapGuideRfc15
- Timestamp:
- 04/05/07 09:13:27 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc15
v11 v12 49 49 CREFSTRING featureFilter, 50 50 INT32 maxFeatures, 51 bool bIgnoreScaleRange, 52 bool bIgnoreSelectability); 51 INT32 layerAttributeFilter); 53 52 54 53 MgBatchPropertyCollection* QueryFeatureProperties(MgMap* map, … … 58 57 CREFSTRING featureFilter, 59 58 INT32 maxFeatures, 60 bool bIgnoreScaleRange, 61 bool bIgnoreSelectability); 59 INT32 layerAttributeFilter); 62 60 }}} 63 61 … … 67 65 The existing HTTP operation QUERYMAPFEATURES will be updated to support the following additional parameters, if specified: 68 66 69 IGNORESCALE=070 * With the value of 0 this operation behaves exactly as the original QUERYMAPFEATURES operation.71 72 IGNORESCALE=173 * 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 74 72 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. 81 75 82 76 FEATUREFILTER=<XML Selection String> … … 133 127 134 128 The 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 132 Following 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.