[OpenLayers-Users] map.toJSONString, too much recursion

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Jan 10 11:56:35 EST 2007


Hi Christopher,

okay, are there plans for adding a toJSONString function to the Map 
object in OpenLayers? Or does anyone have one lying around :-) ?

Best regards,
Bart

Christopher Schmidt schreef:
> On Wed, Jan 10, 2007 at 01:00:38PM +0100, Bart van den Eijnden (OSGIS) wrote:
>   
>> Hi list,
>>
>> I am trying to get the OpenLayers map object as a JSON string (using
>> http://www.json.org/json.js), but I get too much recursion errors in both IE
>> and Firefox.
>>     
>
> The OpenLayers Map object has recursive references. Using toJSONString
> from JSON.org will probably not work. 
>
> Regards,
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl




More information about the Users mailing list