Ticket #2452 (assigned bug)

Opened 3 years ago

Last modified 2 years ago

GetFeature control does not work well when both hover and box are true

Reported by: bartvde Owned by: bartvde
Priority: minor Milestone: 2.13 Release
Component: Control Version: 2.8
Keywords: Cc:
State: Needs More Work

Description

When using hover and box true in a OpenLayers.Control.GetFeature the box request goes off first, but is followed by a hover request on box end. The last request should not be performed in that case.

Attachments

ticket2452.patch Download (1.7 KB) - added by bartvde 3 years ago.

Change History

Changed 3 years ago by bartvde

Changed 3 years ago by bartvde

  • state set to Review

No tests as yet, I'll add tests once somebody approves the approach. TIA.

Changed 3 years ago by ahocevar

Bart: the approach is ok. Instead of checking for this.handlers.hover, I would just check for this.hover when (de)activating the hover handler.

Changed 3 years ago by bartvde

  • state changed from Review to Needs More Work

Thanks Andreas, I'll change that and add tests.

Changed 2 years ago by bartvde

  • owner set to bartvde
  • status changed from new to assigned
Note: See TracTickets for help on using tickets.