[OpenLayers-Trac] Re: [OpenLayers] #2965: Add halos to vector labels

OpenLayers trac-20090302 at openlayers.org
Wed Mar 14 13:07:59 EDT 2012


#2965: Add halos to vector labels
----------------------+-----------------------------------------------------
 Reporter:  rdewit    |       Owner:                  
     Type:  feature   |      Status:  new             
 Priority:  minor     |   Milestone:  2.13 Release    
Component:  Renderer  |     Version:  2.10            
 Keywords:            |       State:  Needs Discussion
----------------------+-----------------------------------------------------

Comment(by donaldKerr):

 Replying to [comment:6 lasmasi]:
 > Unfortunately, after I change feature's label through it's properties,
 label & halo on the screen do not update properly. It seems that only halo
 is being re-rendered. On feature change, I am also forcing vector layer
 refresh and redraw but with no success. I am using FireFox and Chrome.
 > ...
 > This is how it looks when I update label 'Test linestring' to 'Test
 linestring another string':
 >
 > [[Image(halo_render.png)]]

 I would like to see this fixed too but it's hackable by first changing the
 label to an empty string, redraw(), changing the label to the new string
 then redraw() once again. Clumsy, I know, but it does mean that the patch
 can be used in its current state.

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


More information about the Trac mailing list