[OpenLayers-Trac] [OpenLayers] #2825: Vector label not drawn when value equals "0"

OpenLayers trac-20090302 at openlayers.org
Thu Sep 9 09:06:22 EDT 2010


#2825: Vector label not drawn when value equals "0"
----------------------+-----------------------------------------------------
 Reporter:  adube     |       Owner:              
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.11 Release
Component:  Renderer  |     Version:  SVN         
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 If a vector label has "0" as value to display, it won't display it because
 of the current "if" statement :


 {{{
  if (... && style.label && ...)
 }}}


 That statement is false when the label value equals 0.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2825>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list