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.
- Host: GitHub
- URL: https://github.com/conterra/mapapps-layer-swipe
- Owner: conterra
- License: apache-2.0
- Created: 2015-09-01T12:46:34.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-12-04T12:08:38.000Z (3 months ago)
- Last Synced: 2025-12-07T19:57:28.876Z (3 months ago)
- Topics: 3x, 4x, analysis, mapapps
- Language: JavaScript
- Homepage: https://demos.conterra.de/mapapps/resources/apps/public_demo_layerswipe/index.html
- Size: 4.48 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/conterra/mapapps-layer-swipe/actions/workflows/devnet-bundle-snapshot.yml)


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

## 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
```