Ticket #2643 (closed feature: fixed)
GetFeature select by click should allow to select several features
| Reported by: | pgiraud | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.10 Release |
| Component: | Control.GetFeature | Version: | 2.9 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

