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

OpenLayers trac-20090302 at openlayers.org
Thu Mar 15 14:50:14 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:22 rdewit]:
 > @DonaldKerr: thanks for your efforts. I've just downloaded
 [http://openlayers.org/download/OpenLayers-2.11.tar.gz
 OpenLayers-2.11.tar.gz] and issued the following commands:
 > {{{
 > tar xvzf ~/Downloads/OpenLayers-2.11.tar.gz
 > cd OpenLayers-2.11/
 > patch --dry-run -p0 <
 /usr/local/svn/openlayers/branches/openlayers/2965-halo-v3.patch
 > }}}
 >
 > output:
 > {{{
 > patching file lib/OpenLayers/Renderer/Canvas.js
 > patching file lib/OpenLayers/Renderer/Elements.js
 > patching file lib/OpenLayers/Renderer/VML.js
 > patching file lib/OpenLayers/Renderer/SVG.js
 > patching file examples/vector-features-with-text.html
 > }}}
 >
 > It works for me. Not sure where it fails on your side.

 The version of Patch I was using required crlf rather than lf only at the
 eols in the patch file. Now sorted this end. Thanks. Will be looking at
 the V3 patch and 2.11 this evening. Just installed it and noticed that the
 label positioning is different in IE8/VML and FF/SVG. The former is
 slightly off. The positioning is well off in FF/Canvas and the label
 appears behind the graphic. Also, with FF/Canvas, the select style (I
 change to a cursor) isn't applied. SVG2 needs to be patched as well. Will
 feedback some more later.

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


More information about the Trac mailing list