[OpenLayers-Trac] [OpenLayers] #685: WFS markers are drawn when layer is not in range...

OpenLayers trac at openlayers.org
Tue Aug 28 07:22:30 EDT 2007


#685: WFS markers are drawn when layer is not in range...
---------------------------+------------------------------------------------
  Reporter:  johnwebbcole  |       Owner:             
      Type:  feature       |      Status:  new        
  Priority:  minor         |   Milestone:  2.5 Release
 Component:  Layer.WFS     |     Version:  2.4 RC2    
Resolution:                |    Keywords:  review     
---------------------------+------------------------------------------------
Comment (by crschmidt):

 moveTo is used to control the visibility. Without calling moveTo, the
 layer will remain displayed. Changing that is a significant change at the
 base level of the layer class: I think that the actual right solution is:
  * If inRange changes and is now false, we should call
 setVisibility(false) from within Map.moveTo
  * We should change the moveTo functions to no longer be the one to call
 display(false) on the layer -- this needs to be done in the Layer.js
 class, I think.

 If we do this, so far as I can tell, it should work...

 ... however, I feel uncomfortable doing this change this late in a release
 cycle.

 So, I propose that we:
  * Open a ticket to do the above for 2.6 immediately after we close out
 2.5 dev
  * Make this minor change to the WFS layer for 2.5
  * Fix trunk right after the branch.

 This way, we hopefully won't be fighting with tons of churn over a tiny
 bugfix, and we can get more debugging on it later on.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/685#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list