[OpenLayers-Dev] OpenLayers.Util.getArgs() API Break?

Schuyler Erle sderle at metacarta.com
Tue Jul 24 05:54:52 EDT 2007


* On 24-Jul-2007 at 12:07AM PDT, Erik Uzureau said:
> 
> The ticket is:
> http://trac.openlayers.org/ticket/860
> 
> And the change (in english) is this:
> 
> When we see a key/value pair like this "bounds=-180,-90,90,180"...
> instead of parsing that as:
> 
> { 'bounds': "-180,-90,90,180" }
> 
> ..we'll parse it as:
> 
> { 'bounds': ["-180","-90","90","180"] }

Why not check to see if the value is of type list, and if it is, parse
it that way, otherwise treat it as the original string, and mark the
stringy behavior as deprecated for 3.0?

SDE



More information about the Dev mailing list