A Tethys app that demonstrates how to use Tethys Layouts.
-
Install
tethys install
-
OpenCage Geocoding API Key (Optional)
The Map Layout includes a reverse geocoding capability (address search) that is powered by the OpenCage Geocoding API. To enable this feature in the demo you will need to acquire an OpenCage API key. Use their Quick Start guide to learn how to obtain an API key. Then enter the API key in the
geocode_api_key
setting of the app. -
GeoServer (Optional)
The Layout Showcase App has a Spatial Dataset Service Setting that can be used to link a GeoServer service to the app. When included, the Map Layout demo will display the US States layer hosted by GeoServer. Any GeoServer can be used, so long as it contains the demo layers. See Assign Spatial Dataset Services for how to add a GeoServer as a Spatial Dataset Service and link it to an app.