Ticket #2643 (closed feature: fixed)
GetFeature select by click should allow to select several features
|Reported by:||pgiraud||Owned by:|
Currently, when using the GetFeature control, when user clicks on the map, if several features are retrieved, only the best matching one is kept. In many cases, several features can be found in a single location. I propose we let application decide if it only wants one (the best one) or several results. The attached patch introduces a new single config parameter (set to true by default for compatibility), and renames the selectSingle method to selectClick.
Tests pass on FF3.6, IE8, and Chrome. Please review.