Using utm webtilelayer as basemap in sceneview

241
3
11-01-2019 03:41 PM
ae
by
Occasional Contributor

I am trying to use an utm (epsg 25833) webtilelayer as the basemap in a sceneview but get the following error: The tilescheme is not supported in sceneview. 

Is it not possible to use a webtilelayer with a spatial reference other than 4326 as the basemap in a sceneview? 

0 Kudos
3 Replies
RalucaNicola1
Esri Contributor

Hey, It sounds like your tiling scheme does not fulfill these requirements: 

  • 256x256 or 512x512 pixel tiles
  • Scale levels must increase or decrease by a power of two
  • At level 0 there shouldn't be more than 30 root tiles.
  • All tiled layers must have the same tiling scheme and SpatialReference.

You can read about it in the TileLayer documentation: TileLayer | ArcGIS API for JavaScript 4.13 

The coordinate system shouldn't be a problem as long as you have a local scene.

0 Kudos
ae
by
Occasional Contributor

Hi, thanks for your input Raluca.

I see that you mention TileLayer, but I am using WebTileLayer, which does not inherit from TileLayer as far as I can see in the documentation. Are you saying that the same limitations that apply to TileLayer also apply to WebTileLayer? If so, it would be great if this could be mentioned in the documentation for the WebTileLayer as well. 

0 Kudos
RalucaNicola1
Esri Contributor

You're right about that, I'll make sure to add these limitation in the documentation for all tile layers that use a tiling scheme.

0 Kudos