[OpenLayers-Trac] [OpenLayers] #1467: iconOffset of 0, 0 cannot be set with text layer

OpenLayers trac at openlayers.org
Thu Jun 5 18:54:24 EDT 2008


#1467: iconOffset of 0,0 cannot be set with text layer
-------------------------+--------------------------------------------------
  Reporter:  edgemaster  |       Owner:  crschmidt  
      Type:  bug         |      Status:  reopened   
  Priority:  minor       |   Milestone:  2.7 Release
 Component:  Layer.Text  |     Version:  SVN        
Resolution:              |    Keywords:             
     State:  Complete    |  
-------------------------+--------------------------------------------------
Comment (by tschaub):

 The more correct check is for object.foo === undefined.  In addition, if
 someone has bogus values in their text file, we'll still end up with
 offset where x and w are NaN (parseFloat).  A check for isNumeric would be
 more appropriate here (#1441).

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


More information about the Trac mailing list