Skip to content

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.

License

Notifications You must be signed in to change notification settings

conterra/mapapps-layer-swipe

Repository files navigation

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

Sample App

https://demos.conterra.de/mapapps/resources/apps/downloads_layer_swipe4/index.html

Installation Guide

Requirement: map.apps 4.8.0

dn_layerswipe Documentation

Quick start

Clone this project and ensure that you have all required dependencies installed correctly (see Documentation).

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

# 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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published