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?
asked Feb 6, 2013 at 6:07
1 Answer 1
I could find two such samples.
There is a sample from ESRI which uses ArcGIS Online. swipe-map-storytelling-template-js
There is an sample on ArcScripts here by Sathya Prasad
answered Feb 6, 2013 at 6:07
-
thanks for sharing..Its really nice example (like to show changes or comparison)Sunil– Sunil2013年02月06日 06:16:36 +00:00Commented Feb 6, 2013 at 6:16
-
Regarding storymaps.esri.com/templates/swipe this application can I create similar application ( only back-ground layer will be different ) and we don't have account on ArcGIS OnlineSunil– Sunil2013年02月06日 11:14:46 +00:00Commented Feb 6, 2013 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– Devdatta Tengshe2013年02月06日 12:00:09 +00:00Commented Feb 6, 2013 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– Sunil2013年02月06日 12:03:40 +00:00Commented Feb 6, 2013 at 12:03
lang-js