Changes between Version 16 and Version 17 of GetFeatureInfo
- Timestamp:
- 07/30/10 10:59:03 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GetFeatureInfo
v16 v17 43 43 ''"ows_include_items" "all" 44 44 45 to the metadata section of your WMS layer's map file entry. The way it works is that it will find all the features near (within a few pixels) of where you click and it will return up to FEATURE_COUNT records per query layer beginning with the nearest feature. So if you have two layers in QUERY_LAYERS and FEATURE_COUNT is set to 3, and you click on a spot where there are 5 records from layer 1 and 2 records from layer 2 that are all within range, this will return information from the nearest 3 in layer 1 and both from layer 2. Now click [http://www.merchantos.com/ Point of Sale Software] to view the sample. 46 45 to the metadata section of your WMS layer's map file entry. The way it works is that it will find all the features near (within a few pixels) of where you click and it will return up to FEATURE_COUNT records per query layer beginning with the nearest feature. So if you have two layers in QUERY_LAYERS and FEATURE_COUNT is set to 3, and you click on a spot where there are 5 records from layer 1 and 2 records from layer 2 that are all within range, this will return information from the nearest 3 in layer 1 and both from layer 2. 47 46 48 47 findLayerClick is triggered by a mouseclick and defined in init() like;
