An open API service indexing awesome lists of open source software.

https://github.com/conterra/mapapps-layer-swipe

The Swipe Layer bundle allows you to easily compare the content of two different layers in a map using the LayerSwipe widget to reveal the content of a layer on the map.
https://github.com/conterra/mapapps-layer-swipe

3x 4x analysis mapapps

Last synced: 28 days ago
JSON representation

The Swipe Layer bundle allows you to easily compare the content of two different layers in a map using the LayerSwipe widget to reveal the content of a layer on the map.

Awesome Lists containing this project

README

          

[![devnet-bundle-snapshot](https://github.com/conterra/mapapps-layer-swipe/actions/workflows/devnet-bundle-snapshot.yml/badge.svg)](https://github.com/conterra/mapapps-layer-swipe/actions/workflows/devnet-bundle-snapshot.yml)
![Static Badge](https://img.shields.io/badge/requires_map.apps-4.20.0-e5e5e5?labelColor=%233E464F&logoColor=%23e5e5e5)
![Static Badge](https://img.shields.io/badge/tested_for_map.apps-4.20.0-%20?labelColor=%233E464F&color=%232FC050)
# Layer Swipe Bundle
The Layer Swipe bundle allows you to easily compare the content of two different layers in a map using the LayerSwipe widget of the Esri ArcGIS API for JavaScript. In the configuration you can choose between horizontal, vertical and scope viewing modes.

![Screenshot Layer Swipe Sample](https://github.com/conterra/mapapps-layer-swipe/blob/main/screenshot.JPG)

## Sample App
https://demos.conterra.de/mapapps/resources/apps/public_demo_layerswipe/index.htm

[dn_layerswipe Documentation](https://github.com/conterra/mapapps-layer-swipe/tree/main/src/main/js/bundles/dn_layerswipe)

## Quick start

Clone this project and ensure that you have all required dependencies installed correctly (see [Documentation](https://docs.conterra.de/en/mapapps/latest/developersguide/getting-started/set-up-development-environment.html)).

Then run the following commands from the project root directory to start a local development server:

```bash
# install all required node modules
$ mvn initialize

# start dev server
$ mvn compile -Denv=dev -Pinclude-mapapps-deps

# run unit tests
$ mvn test -P run-js-tests,include-mapapps-deps
```