Ticket #1754 (closed feature: duplicate)

Opened 5 years ago

Last modified 3 years ago

select feature by box shouldn't select anything if layer is not in range

Reported by: pgiraud Owned by: tschaub
Priority: minor Milestone: 2.9 Release
Component: Control.SelectFeature Version: 2.7
Keywords: Cc:
State:

Description

Currently the selectBox callback method in SelectFeature control doesn't test if the layer is in range.

Change History

Changed 5 years ago by pgiraud

Perhaps, we would want to activate/deactivate the control when the layer goes into / out of range. This would probably apply also to the other controls linked to a layer.

Changed 5 years ago by pgiraud

It probably deserves another ticket but here's another example which is explaining the problem. Imagine you have a vector layer with min/maxResolution set. Now, lets imagine a drawFeature control linked to that layer. Then you'll be able to draw (in fact add) features on the layer even if it's not inRange.

Changed 4 years ago by crschmidt

  • milestone changed from 2.8 Release to 2.9 Release

Not touched in 2.7; bumping.

Changed 3 years ago by pgiraud

  • status changed from new to closed
  • resolution set to duplicate

This have been adressed and fixed in #2418.

Note: See TracTickets for help on using tickets.