Ticket #2408 (new feature)
SelectFeatures control does not allow setting cursors when the cursor is over a feature
| Reported by: | ksgeograf | Owned by: | tschaub |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.13 Release |
| Component: | Control.SelectFeature | Version: | SVN |
| Keywords: | SelectFeature Cursor overFeature outFeature | Cc: | |
| State: | Needs More Work |
Description
The DragFeature sets the [displayClass + "Over"] class whenever the cursor is over a feature. This provides visual feedback to the user, indicating that an action can be performed (drag in this case).
The SelectFeature control does not set these classes, so the same is not possible here.
Attached is a patch for trunk that enables those classes.
The downside to the patch is that the over/out events are now always activated.
The test used to determine if the class should be added (in overFeature) is based on my limited understanding of the Handler.Feature and Handler.Drag, and may be incomplete.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

