It's a real pity that Map and Map Layers widgets supports only Web map and Web scene layers. As demonstrated with Add Data widget it is already possible to add all kind of layers to the map, also you can do it programmatically. Simply, this enhancement with native support of all other type of layers/popup control will make EB the perfect tool for web mapping and standalone apps.