Post build 4.27, overlain cached imagery in SceneView doesn't seem to upscale as the user zooms in. It appears very low resolution. It's almost as if it's not calling the higher pyramids and simply getting stuck on the first level internal overlay. In MapView, all works as expected on the same cached services. See example SceneView screenshots from the same area in a 4.26 build vs a 4.30 build.
Solved! Go to Solution.
Thanks Grete,
The image service in question is a standard ArcGIS Online / Google / Bing tiling scheme generated from COGs. Probably not ideal for SceneView as the LOD scale values are floating point but I can't imagine that would matter in rendering the LODs. In digging a bit more it looks like something very similar was addressed in the 4.28 build. Noted in Release notes for 4.28 | Overview | ArcGIS Maps SDK for JavaScript 4.30 | Esri Developer here:
I imagine this is the inverse of what we're seeing and is likely related to how the service was generated in the 10.X Server environment. I'll ask the service provider to re-cache the service. In the meantime, manually setting tileInfo via JS does the job. Cheers!
Could you maybe share your scene (e.g. via a direct message) or explain what type of layers and settings you are using?
Hi Grete,
Thanks for the reply. This was an odd one for sure! I was calling an ImageTileLayer derived from a cached image service. In MapView, everything works as expected at all zoom levels. However, when I switched to SceneView, the same ImageTileLayer rendered what appeared to be just the first LOD. The result was a blurry overlay when zoomed in, as the LODs didn’t seem to change. This issue only occurs in builds post v.4.27. For more recent builds, I had to call TileInfo to get around this (see below). I can only assume that something changed in the way LODs are rendered for ImageTileLayer after v.4.27 (I need to look at the changelog). It may be worth looking into if others have the same issue. Cheers!
Hi again,
Thanks for the details! We've looked into this but to troubleshoot further, we'd need to see how some of the properties on the service are set up. Could you share the image service root json with us? You can also send it to me via a direct message.
Thanks Grete,
The image service in question is a standard ArcGIS Online / Google / Bing tiling scheme generated from COGs. Probably not ideal for SceneView as the LOD scale values are floating point but I can't imagine that would matter in rendering the LODs. In digging a bit more it looks like something very similar was addressed in the 4.28 build. Noted in Release notes for 4.28 | Overview | ArcGIS Maps SDK for JavaScript 4.30 | Esri Developer here:
I imagine this is the inverse of what we're seeing and is likely related to how the service was generated in the 10.X Server environment. I'll ask the service provider to re-cache the service. In the meantime, manually setting tileInfo via JS does the job. Cheers!
Thanks @cgarrity_USGS for the update and the thorough investigation!