The data will be compared to find differences between the two data files. Draw two points of different colors on the map according to the coordinates, click on the data, and jump to the corresponding point at the same time. Can the swipe component do this kind of thing?
Reference example: https://webapps.maps.arcgis.com/apps/Compare/index.html?appid=cbb8f725e8c34bd88ca02eb16569d2fd
I'm not sure I fully understand the two-color concept you're describing, but it sounds like this blog post would be useful in looking at a few ways to compare data from different time frames: https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/six-ways-to-visualize-change-over-time-in-web-maps/
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.