I am seeing strange behavior with the BasemapGalleryViewModel's basemapEquals method. When the two basemaps passed to the method are different sublayers of the same MapImageLayer service, the method incorrectly returns true. This is causing the the basemap gallery to highlight multiple basemaps. Pen: https://codepen.io/dolin5/pen/NWqpxWy
Is this a bug, or am I incorrectly creating the basemaps?
Thanks.
Hi Dylan,
Thanks for taking the time to report this. I was able to reproduce the issue - it seems like a bug. We will investigate the cause of this issue and have in fixed in an upcoming release!
Thanks,
Anne
Thanks Anne.
Hi @DylanOlin1,
Just want to let you know that we fixed this issue at version 4.23 which will be released on 3/23/2022.
-Undral