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

Erik Uzureau erik.uzureau at metacarta.com
Tue Jul 24 03:07:23 EDT 2007


Dear Dev,

We're writing to see if a little break in the API is going to bother
anyone. Generally we don't do this sort of thing, and if it's going to
be an issue, we can comment it out and mark it as un-comment for 3.0.
But if it's not going to break anyone's current code, then we might as
well go ahead and put it in.

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"] }

This may cause problems in any number of ways, though we're hoping
that it will be welcomed and appreciated and adapted to in the same
way as the changes we made to  getParameterString().

If we don't hear anything from anyone, we'll put the patch in.
Otherwise, please speak up and we can figure out a better solution.

Muito Obrigado everyone. Boa Noite.
Erik



More information about the Dev mailing list