Ticket #2072 (closed bug: fixed)
when allOverlays is true a hidden layer can cause a WFS request
| Reported by: | bartvde | Owned by: | elemoine |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.8 Release |
| Component: | Map | Version: | 2.8 RC1 |
| Keywords: | pullup | Cc: | |
| State: | Complete |
Description
If a vector layer (with a WFS protocol) is the lowest layer in the layer stack, and allOverlays is set to true, a moveTo will be sent to the vector layer even if this layer is not visible. Which will cause a new WFS request to go out unnecessary.
The solution I could think of is when allOverlays is true only call baseLayer.moveTo if it is in range.
this.baseLayer.moveTo(bounds, zoomChanged, dragging);
What do others think?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

