[OpenLayers-Users] How to use best use python script with Open Layers?

Phil Scadden p.scadden at gns.cri.nz
Wed Jul 30 14:12:20 PDT 2014


Are you getting the JSON via the response object?

eg
                                     Ext.Ajax.request({
                                         url:'myscript',
                                         method:'GET',
                                         params:{
                                         },
                                         success:function(response){
                                             var l = new 
OpenLayers.Format.JSON().read(response.responseText);
                                         }

Does the JSON look properly formed when you look at 
response.responseText in the debugger?

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.



More information about the Users mailing list