Tag Info

New answers tagged

0

The problem is that the success function is not called with the JSONP call. You need to change the AJAX call accordingly. You need to set jsonp:'format_options' on the AJAX call. The callback is then in the jsonpCallback parameter. $.ajax('http://demo.opengeo.org/geoserver/wfs',{ type: 'GET', data: { service: 'WFS', ...


0

Remember that JavaScript runs on the client's machine, under their control. They are allowed to set breakpoints and inspect variables at run time on their own machine. You can minify and obfuscate JavaScript, but Chrome DevTools has a one-click pretty-format button to partially undo the minification enough to make breakpoints work effectively. Long story ...


2

This really doesn't have anything to do with numpy. If ElectronicWaste or ElectronicWaste['La311ElectronicWaste'] is empty, locationewaste won't get assigned. And then the items.append part of your code will fail with a NameError because locationewaste isn't there. for sr in ElectronicWaste: for ewastelocation in ...



Top 50 recent answers are included