Changes between Version 16 and Version 17 of GetFeatureInfo

Show
Ignore:
Timestamp:
07/30/10 10:59:03 (3 years ago)
Author:
tschaub
Comment:

removing spam from  http://trac.openlayers.org/wiki/GetFeatureInfo?action=diff&version=11

Legend:

Unmodified
Added
Removed
Modified
  • GetFeatureInfo

    v16 v17  
    4343''"ows_include_items" "all"  
    4444 
    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  
     45to 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. 
    4746 
    4847findLayerClick is triggered by a mouseclick and defined in init() like;