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

OpenLayers trac-20090302 at openlayers.org
Wed Mar 14 12:39:09 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):

 I have just done some testing with the V1 patch and 2.10 as I cannot get
 the other patches working with 2.11 as yet. I toggle a graphic, label text
 and label extended text off and on with the following results:

 [[Image(Samples.png)]]

 IE8 with VML is the only one that works as planned. This is my target
 environment so I can use the patch as it is. If there's an upgrade to Win7
 and IE9 (planned over the nex year) then I would like to use SVG for speed
 reasons which is an issue (see paragraph below).

 Firefox and Chrome with SVG work to a degree but, as indicated by lasmasi
 above, dynamically changing the label text causes redraw issues. This
 would need to be sorted to make it workable. Not a priority for me, but
 looking to the future, it will be.

 Firefox and Chrome with Canvas work but there are issues with label
 positioning.

 As mentioned in the patch and by kd above, the fontFamily in IE doesn't
 seem to be changeable but I can live with that. Firefox and Chrome both
 obey fontFamily.

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


More information about the Trac mailing list