Hi all, I am trying to load a geoJSON file from:
http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojsonp As you can see the response includes a server-side defined callback parameter. The resource will not get returned if anything is added to URL (e.g. ?callback=somegnarlycallbackparameter). Here is what I have so far: protocol: new OpenLayers.Protocol.Script( { url: http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojsonpL, callbackKey: '', callbackTemplate: '', format: new OpenLayers.Format.GeoJSON( { ... } ) .... } ); Using that the request URL is: http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojsonp?= Which still gets refused by the source. Any ideas? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Vector-Layer-from-GeoJSON-with-server-side-defined-callback-tp5211719.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users