Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was researching the ESRI JavaScript API, and was wondering if there is a sample which shows layer swiping in the browser.

Is there such a Swipe sample?

share|improve this question
up vote 3 down vote accepted

I could find two such samples.

  1. There is a sample from ESRI which uses ArcGIS Online. swipe-map-storytelling-template-js

  2. There is an sample on ArcScripts here by Sathya Prasad

share|improve this answer
thanks for sharing..Its really nice example (like to show changes or comparison) – Sunil Feb 6 '13 at 6:16
Regarding this application can I create similar application ( only back-ground layer will be different ) and we don't have account on ArcGIS Online – Sunil Feb 6 '13 at 11:14
@Sunil I haven't understood your question. Are you asking whether you can use the first sample with your own Services? Out of the box I don't think so, but you could get ideas from it, and use that in your own application. – Devdatta Tengshe Feb 6 '13 at 12:00
@ Devdatta Tengshe :Are you asking whether you can use the first sample with your own Services? : Yes but I check the code and found that they have inserted ArcGIS Online web map id for that.. ..and we don't have ArcGIS Online subscription .. – Sunil Feb 6 '13 at 12:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.