# How to get WebMercatorTilingScheme of loaded tiles?

**URL:** <https://community.cesium.com/t/how-to-get-webmercatortilingscheme-of-loaded-tiles/5118>\
**Category:** CesiumJS\
**Created:** [February 4, 2017, 12:30am UTC](https://community.cesium.com/t/how-to-get-webmercatortilingscheme-of-loaded-tiles/5118 "2017-02-04T00:30:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![s.plaenitz](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@s.plaenitz](https://community.cesium.com/u/s.plaenitz)\
**Post date:** [February 4, 2017, 12:30am UTC](https://community.cesium.com/t/how-to-get-webmercatortilingscheme-of-loaded-tiles/5118/1 "2017-02-04T00:30:51Z")

</div>

i need all tile-XYZs in WebMercatorTilingScheme.

What works is to get the coordinates of the corners of the viewer and to transform these with positionToTileXY to the tile XY.  
But i need it in differenz z-levels. For example, if i change the angle tiles, which are fare away should be in a lower z-level. This works in ImageProvider.

\<img src="[https://www2.pic-upload.de/thumb/32614448/DSC\_8981.jpg](https://www2.pic-upload.de/thumb/32614448/DSC_8981.jpg)" alt="Bild hochladen" /\>

viewer.scene.globe.\_surface.tileProvider.\_tilesToRenderByTextureCount  
Give me all needed tiles XYZ but not in WebMercatorTilingScheme

Is it possible to get Tiles XYZ of the viewer szene in WebMercatorTilingScheme?  
Could it be possible to add for this a own ImageProvier and then how?

---

<div class="post-metadata">

**Author:** ![s.plaenitz](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@s.plaenitz](https://community.cesium.com/u/s.plaenitz)\
**Post date:** [February 4, 2017, 12:38am UTC](https://community.cesium.com/t/how-to-get-webmercatortilingscheme-of-loaded-tiles/5118/2 "2017-02-04T00:38:43Z")

</div>

sorry, here is the right picture  
\<img src="[https://www2.pic-upload.de/img/32614448/DSC\_8981.jpg](https://www2.pic-upload.de/img/32614448/DSC_8981.jpg)" alt="DSC\_8981.jpg"\>

---

<div class="post-metadata">

**Author:** ![s.plaenitz](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@s.plaenitz](https://community.cesium.com/u/s.plaenitz)\
**Post date:** [February 17, 2017, 11:30am UTC](https://community.cesium.com/t/how-to-get-webmercatortilingscheme-of-loaded-tiles/5118/3 "2017-02-17T11:30:58Z")

</div>

is it for example possible to use some imageprovider or use the QuadtreeTileProvider?
