Ticket #1936 (closed feature: fixed)
Add GetFeature control
| Reported by: | ahocevar | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.8 Release |
| Component: | general | Version: | 2.7 |
| Keywords: | Cc: | ||
| State: | Complete |
Description (last modified by tschaub) (diff)
Selecting features from large data sets can not always be done with vector layers, due to expensive vector rendering on the browser. An alternative is select a limited set of features using a bbox filter and a protocol.
This control is a kind-of replacement for OpenLayers.Control.SelectFeature, with the following differences:
- It is not strictly bound to a layer. A properly configured Protocol is sufficient to make it work.
- It just triggers events when features are selected/unselected or hovered, instead of visualizing selections on a vector layer with a selectedFeatures array.
This ticket depends on #1648.
The patch contains an example and unit tests, tests pass in FF3 and IE7, acceptance tests using the example also pass in both browsers.
Thanks for any review.

