I have a custom Raster TileLayer in a map that works with a 512x512 tiling scheme. But when I try to switch from a 2D MapView to a 3D SceneView the layer fails to load. Error message is:
> The tiling scheme of this layer is incompatible with the tiling scheme of the surface
That's because my custom layer is drawing with 512x512 tile size I think. The docs say:
Raster API tiles only work when all other layers have same tiling size. (link)
My map is using, of course, an ESRI Basemap (I think ESRI ArcGIS Maps SDK for JavaScript maps require a basemap layer right?). I assume then that effectively I have to use 256x256 tiles unless I build my own custom basemap layer? Am I interpreting this right?
I am hoping that others or someone at ESRI can clarify that I am reading this right. I'd like to clarify that this is the case before I post over in Ideas asking if it is possible and on any roadmap to support mixed tile sizes in 3D Scenes.
I haven't tried yet a custom basemap layer. I also haven't tried maintaining a separate Map instance for each SceneView and MapView because that's a lot of rework in my app.
I have tried removing and reloading the custom Raster TileLayer every time the user switches between 2D and 3D. It's really slow as the layer has to completely reload and redraw before we can even spin up the 3D view.