[OpenLayers-Dev] question about upcoming projection support

Erik Uzureau erik.uzureau at metacarta.com
Tue Jan 15 12:46:44 EST 2008


there you go!

.... it does sort of make sense that toString() and fromString() would be
reciprocal, though. i'd like to see that in a 3.0


On 1/15/08, Christopher Schmidt <crschmidt at metacarta.com> wrote:
>
> On Tue, Jan 15, 2008 at 11:31:51AM -0600, Erik Uzureau wrote:
> > hi bart, the toString() function I think was mostly just designed for
> > debugging... not so much as a way to translate the bounds into a
> storable
> > string format.
> >
> > I think your point is a good one... unfortunately, it wouldn't be proper
> of
> > us to change a thing like this now because it would be a breach of API.
> >
> > for the OpenLayers 3.0 release, however, I think this would be a great
> thing
> > to change.
> >
> > erik
> >
> > ps. if you really need this functionality, we could put in a patch for a
> > function with a different name (saveToString() or something like that)
> for
> > the time being and mark the current toString() as deprecated...
>
> No need for this: just use bounds.toBBOX() to serialize, and
> bounds.fromString to deserialize.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080115/236e708a/attachment.html


More information about the Dev mailing list