[OpenLayers-Trac] Re: [OpenLayers] #3591: Alter geometry on the fly on feature drawing

OpenLayers trac-20090302 at openlayers.org
Thu Dec 8 07:24:21 EST 2011


#3591: Alter geometry on the fly on feature drawing
----------------------------+-----------------------------------------------
 Reporter:  anrikun         |       Owner:                        
     Type:  feature         |      Status:  new                   
 Priority:  major           |   Milestone:  2.12 Release          
Component:  Feature.Vector  |     Version:  2.11                  
 Keywords:                  |       State:  Awaiting User Feedback
----------------------------+-----------------------------------------------

Comment(by ahocevar):

 @anrikun, I get what your patch does. All I'm saying is that the way
 you've implemented it, you could do the same manipulations independently
 from rendering, because it your prepareGeometry method modifies the
 geometries in-place (as opposed to a getRenderingGeometry method which
 would work with a clone and leave the feature geometry untouched).

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


More information about the Trac mailing list