New feature in gwty-leaflet: debug/prod mode.
We have added a new feature to gwty-leaflet: choosing whether the injected script is minified or no. LeafletResources class can be used to inject leaflet js/css directly from the Java code, and we think having an uniminified script can help in debugging and tracking errors directly in the browser. The new prototype for the whenReady method is:
if debug flag is set to yes then the injected script will be unminified. For example: