>
> protocol: new OpenLayers.Protocol.HTTP(
>                 {
>                         url: 
> '/cgi-bin/proxy.cgi?url=http://localhost/mop/py/test3.py',
>                         format: new OpenLayers.Format.GeoJSON()
>                 }
>                 ),
>
> in firebug, I'm getting the query (as well as if I write in firefox 
> http://localhost/mop/py/test3.py) and this error message:
>
> JSON.parse: unexpected character
> [Break On This Error]         
> object = JSON.parse(json, filter);
>
I would say it means that the json is badly formed. Use Firebug. Either 
look at what is being returned by in the NET table (or possibly console) 
or set a breakpoint on the line above and have a look at the json 
variable to see what is going on.

Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to