[OpenLayers-Trac] Re: [OpenLayers] #2349: Add label background color and border

OpenLayers trac-20090302 at openlayers.org
Sun Dec 5 09:36:49 EST 2010


#2349: Add label background color and border
-----------------------------------+----------------------------------------
 Reporter:  drewtoto               |       Owner:                 
     Type:  feature                |      Status:  new            
 Priority:  minor                  |   Milestone:  2.11 Release   
Component:  Renderer               |     Version:  2.8            
 Keywords:  label background fill  |       State:  Needs More Work
-----------------------------------+----------------------------------------
Changes (by DonaldKerr):

  * state:  Review => Needs More Work


Comment:

 I tried to port this to OpenLayers 2.10 Revision: 10721 (VML) with some
 success for Internet Explorer (8.0.6001.18702) but it fails to work with
 Firefox (3.6.6) on Windows XP Pro.

 The feature to color the background of labels thus: labelBackgroundColor:
 "#FFFFC0". is extremely useful and I would say that it's a bit of a hole
 not having that available.

 I am using an OpenLayers WFS layer (Mapserver WFS) to add a
 externalGraphic with a label below and the label is quite illegible
 without a background.

 Is there a reason why this patch wasn't included in versions since 2.8
 e.g. did it require some additional work?

 Would it be possible for someone to take this onboard and create a full
 patch for 2.10 for full release in 2.11 and can someone with the
 appropriate skills take ownership please?

 I am not in a position (skill gap) to complete the required work.

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


More information about the Trac mailing list