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

Contracted Catchments not rendering in National Map #20

@benjaminleighton

Description

@benjaminleighton

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).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions