Select to view content in your preferred language

Adding swipe functionality using arcgis js api 4.x in Experience builder

473
0
07-04-2022 11:13 PM
Labels (1)
tsn_nagarajan
New Contributor

Hi,

I am using EB to add swipe functionality by using import Swipe from "@arcgis/core/widgets/Swipe";  using jimu dependency.

I have taken EB editor widget as reference and modified accordingly for swipe.
I was able to swipe the layers in EB for the first instance, but the issue is after widget.destroy(), I couldn't pan my map and also i couldn't use my swipe again.

Any pointers would be much helpful..
@RobertScheitlin__GISP 
 
Regards,
Naga
0 Kudos
0 Replies