or type file especify is response.MAP it load in file example: Layer Swipe
I will try, I will see this documentation, but I'm sure where to change the javascript source code to load kml file, for example.
Can I include my doubts in this post?
sorry for written English, I am Brazilian: My Local: -0.055292, -51.169647
if I can publish on the web for you to see.
Grateful.
Geraldo,
You can add KML and shapefiles to a web map on AGOL anf then use that web map for the swipe. The JS API also supports KMLLayer. You can look at the JS APIs documentation to see a list of supported layer types:
Layer | API Reference | ArcGIS API for JavaScript 3.17
Robert, Thankyou the quick response,
it is possible to use I this example: Layer Swipe and load a file extension: KML, GML, MIF, OOM, ShapeFile or SQL? if possible, how do I do?
That sample is using a Web Map from AGOL. But you can use the swipe widget on a map that has layers loaded in the normal fashion as well using any other supported layer type.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.