[OpenLayers-Trac] Re: [OpenLayers] #3257: NG renderer does not recalculate feature styles on zoom change

OpenLayers trac-20090302 at openlayers.org
Fri May 27 03:41:01 EDT 2011


#3257: NG renderer does not recalculate feature styles on zoom change
-------------------------+--------------------------------------------------
 Reporter:  ahocevar     |       Owner:  ahocevar    
     Type:  bug          |      Status:  new         
 Priority:  minor        |   Milestone:  2.12 Release
Component:  Renderer.NG  |     Version:  SVN         
 Keywords:               |       State:              
-------------------------+--------------------------------------------------

Comment(by mosesonline):

 Is someone working on this bug? Why not simply call drawFeature on zoom?
 Just change one line in Ol.Layer.Vector (506,moveTo function):
 if (!this.drawn || (!ng && (zoomChanged || !coordSysUnchanged))) {
 to
 if (!this.drawn || zoomChanged || !coordSysUnchanged) {
 Isn't it so simple?

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


More information about the Trac mailing list