[OpenLayers-Trac] [OpenLayers] #3433: Implement OpenLayers.LonLat.fromArray for API-consistency

OpenLayers trac-20090302 at openlayers.org
Sat Jul 23 17:12:52 EDT 2011


#3433: Implement OpenLayers.LonLat.fromArray for API-consistency
------------------------------+---------------------------------------------
 Reporter:  marcjansen        |       Owner:  crschmidt   
     Type:  feature           |      Status:  new         
 Priority:  minor             |   Milestone:  2.12 Release
Component:  BaseTypes.LonLat  |     Version:  SVN         
 Keywords:                    |       State:              
------------------------------+---------------------------------------------
 We have the method !OpenLayers.Bounds.fromArray() but are currentyly
 missing !OpenLayers.!LonLat.fromArray() which seems unnatural.

 This patch suggests adding !OpenLayers.!LonLat.fromArray() for
 API.consistency.

 Tests pass in Chrome 13 and Firefox 5

 Please review.

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


More information about the Trac mailing list