AnsweredAssumed Answered

BasemapGalleryViewModel baemapEquals method incorrectly returns true

Question asked by dolin1855 on Feb 25, 2020
Latest reply on Feb 26, 2020 by dolin1855

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: 

Is this a bug, or am I incorrectly creating the basemaps?