# hight definition tiles

**URL:** <https://community.cesium.com/t/hight-definition-tiles/1906>\
**Category:** CesiumJS\
**Created:** [January 27, 2015, 2:15pm UTC](https://community.cesium.com/t/hight-definition-tiles/1906 "2015-01-27T14:15:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoine.faucher](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@antoine.faucher](https://community.cesium.com/u/antoine.faucher)\
**Post date:** [January 27, 2015, 2:15pm UTC](https://community.cesium.com/t/hight-definition-tiles/1906/1 "2015-01-27T14:15:17Z")

</div>

Dear all,  
I am working with cesiumjs with tiles including instagram pictures.  
I was wondering if we could display hgith definition tiles to remove distortion and low quality of rendering when we are zoom in or zoom out ?  
For instance, we could have tiles with a size of 512\*512 but cesiumjs could display them in 256\*256 so when cesiumjs process the rendering, the 3d computation is still much more presice and the quality of the picture on the screen would not be blur.  
Because for now, we are clearly see some bluring effect not looking nice on the screen.  
Thank you for your help !  
Best,  
Antoine

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [January 28, 2015, 11:01am UTC](https://community.cesium.com/t/hight-definition-tiles/1906/2 "2015-01-28T11:01:53Z")

</div>

Hi Antoine,

Try setting scene.globe.maximumScreenSpaceError to a smaller number like 1 or 1.5 (it defaults to 2).

Kevin

---

<div class="post-metadata">

**Author:** ![antoine.faucher](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@antoine.faucher](https://community.cesium.com/u/antoine.faucher)\
**Post date:** [January 28, 2015, 1:58pm UTC](https://community.cesium.com/t/hight-definition-tiles/1906/3 "2015-01-28T13:58:26Z")

</div>

Thank you so much Kevin,  
Yeah the quality is much better,  
Last question, we were using leatletjs before, and we had a custom function to get tiles L.getTileUrl as our tiles are organized differently from the traditionnal url like /z/x/y

Which function in cesiumjs should we fork to be able to query our special url ?

Thank you so much for your help !

Antoine

---

<div class="post-metadata">

**Author:** ![antoine.faucher](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@antoine.faucher](https://community.cesium.com/u/antoine.faucher)\
**Post date:** [January 28, 2015, 1:58pm UTC](https://community.cesium.com/t/hight-definition-tiles/1906/4 "2015-01-28T13:58:41Z")

</div>

Thank you so much Kevin,  
Yeah the quality is much better,  
Last question, we were using leatletjs before, and we had a custom function to get tiles L.getTileUrl as our tiles are organized differently from the traditionnal url like /z/x/y

Which function in cesiumjs should we fork to be able to query our special url ?

Thank you so much for your help !

Antoine

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [January 28, 2015, 10:37pm UTC](https://community.cesium.com/t/hight-definition-tiles/1906/5 "2015-01-28T22:37:53Z")

</div>

Hi,

You’ll need to write a custom ImageryProvider. You can use any of the existing ones as an example, such as:

[https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/OpenStreetMapImageryProvider.js](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/OpenStreetMapImageryProvider.js)

Kevin
