1. A concise explanation of the problem you’re experiencing.
Any KML with an Icon gives me the following error. The ContextLimits.maximumTextureSize is always zero for these billboards, but was initialized to 16,384 if I put a breakpoint in Context.js. I am loading simple pngs and have even tried the sample kml and icon (served locally) from the sandcastle example.
It works fine for me in the sandcastle in browser, but fails when running in my electron app.
Error loading image for billboard: DeveloperError: Width must be less than or equal to the maximum texture size (0). Check maximumTextureSize.
at new DeveloperError (/Users/chet/dev/raid-vue/node_modules/cesium/Source/Core/DeveloperError.js:43)
at new Texture (/Users/chet/dev/raid-vue/node_modules/cesium/Source/Renderer/Texture.js:122)
at resizeAtlas (/Users/chet/dev/raid-vue/node_modules/cesium/Source/Scene/TextureAtlas.js:229)
at addImage (/Users/chet/dev/raid-vue/node_modules/cesium/Source/Scene/TextureAtlas.js:318)
at Promise.then (/Users/chet/dev/raid-vue/node_modules/cesium/Source/ThirdParty/when.js:196)
at processQueue (/Users/chet/dev/raid-vue/node_modules/cesium/Source/ThirdParty/when.js:647)
at _resolve (/Users/chet/dev/raid-vue/node_modules/cesium/Source/ThirdParty/when.js:333)
at promiseResolve (/Users/chet/dev/raid-vue/node_modules/cesium/Source/ThirdParty/when.js:359)
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
I am running in an electron app with Cesium 1.62.