[OpenLayers-Trac] [OpenLayers] #3014: Give fromArray and fromString a reverseAxisOrder option

OpenLayers trac-20090302 at openlayers.org
Sun Jan 16 17:44:26 EST 2011


#3014: Give fromArray and fromString a reverseAxisOrder option
------------------------------+---------------------------------------------
 Reporter:  ahocevar          |       Owner:  tschaub     
     Type:  feature           |      Status:  new         
 Priority:  minor             |   Milestone:  2.11 Release
Component:  BaseTypes.Bounds  |     Version:  2.10        
 Keywords:                    |       State:              
------------------------------+---------------------------------------------
 We already have it for toArray. We should also add it for fromArray,
 because e.g. the GetCapabilities response's bbox also has a different
 meaning depending on the axis order. See
 http://getsatisfaction.com/opengeo/topics/incompatible_mapserver_wms_service

 I suggest to also make it a boolean argument for now. In case we need to
 support even bounding boxes different than bottomleft-topright, we can
 make it a mixed argument later.

 Patch attached, tests still missing.

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


More information about the Trac mailing list