[OpenLayers-Trac] [OpenLayers] #1441: Add OpenLayers.String.isNumeric method

OpenLayers trac at openlayers.org
Mon Jun 9 15:11:03 EDT 2008


#1441: Add OpenLayers.String.isNumeric method
----------------------+-----------------------------------------------------
  Reporter:  tschaub  |       Owner:  tschaub    
      Type:  feature  |      Status:  new        
  Priority:  minor    |   Milestone:  2.7 Release
 Component:  general  |     Version:  2.5        
Resolution:           |    Keywords:             
     State:  Review   |  
----------------------+-----------------------------------------------------
Comment (by tschaub):

 (In [7334]) The text format conditionally sets values for
 feature.style.graphicXOffset and graphicYOffset.  If these are not defined
 in parsing, we confirm that using the non-identity operator with
 undefined.  Later, it might make sense to confirm these values are
 actually numeric (see #1441). This keeps an icon.offset from inadvertently
 getting created with NaN values later on.  r=elemoine (closes #1571)

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


More information about the Trac mailing list