Re: [OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-14 Thread Moataz Elmasry
I just tried your string with an online parser: http://json.parser.online.fr/ and eval() returned an error. You don't need to escape the single quote character since its inside a double quote, so just remove the slash \ and it should work Eric Lemoine wrote: On Fri, Jun 11, 2010 at 2:34 AM,

Re: [OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-14 Thread Zac Spitzer
yup, i was using coldfusion's built in javascript escaping format, jsstringformat i have found an appropriate function for json encoding option on cflib.org thanks for you help On 14 June 2010 17:42, Moataz Elmasry zaza185198...@googlemail.com wrote: I just tried your string with an online

Re: [OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-11 Thread Eric Lemoine
On Fri, Jun 11, 2010 at 2:34 AM, Zac Spitzer zac.spit...@gmail.com wrote: Hi Eric, thanks for trying that. I have created a cut down test case which demonstrates the problem http://mapguide-central.ennoble.com.au/testcase/geo_json_escaping/testcase.html there are two vector layers, one

Re: [OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-10 Thread Eric Lemoine
On Thu, Jun 10, 2010 at 4:28 AM, Zac Spitzer zac.spit...@gmail.com wrote: I have having a problem consuming some GeoJSON, basically the name value in the sample below is causing my vector layer to silently abort rendering. i believe it's valid json, as i can load it into a javascript variable

Re: [OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-10 Thread Zac Spitzer
Hi Eric, thanks for trying that. I have created a cut down test case which demonstrates the problem http://mapguide-central.ennoble.com.au/testcase/geo_json_escaping/testcase.html there are two vector layers, one which is escaped and one which isn't the escaped one is on by default and

[OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-09 Thread Zac Spitzer
I have having a problem consuming some GeoJSON, basically the name value in the sample below is causing my vector layer to silently abort rendering. i believe it's valid json, as i can load it into a javascript variable and dump it to the firebug console I'm using trunk Revision: 10300 { type: