This repository was archived by the owner on Oct 18, 2022. It is now read-only.

Description
Via @ashleysommer
The JSON api isn't documented. The way you decode it, is go to the main NationalMap site, add a new layer, set up your view how you want it (choose background layer, etc) then click the Share button. In the sharing advanced settings, uncheck "shorten url", this will give you a majorly long URL. Take the url-encoded string from off the end of the URL, and put it through a url-encoding decoder, then through a JSON formatter for better readability.
The resulting payload is what I refer to as the JSON API config.
See the ContractedCatchment HTML template in the geofabricld source code to see the config I have embedded (which is now not working).