wmts problem with arcmap
hi, my problem is exactly the same as mentioned in issue 87 about not showing tiles but zooming to the correct extent etc. with the difference that i can see just one of the layers i'm trying to use local tileserver-php to serve pre-rendered tiles in arcmap 10.6. it is done successfully for one of my tile layers which has a folder structure like "country-raster/{z}/{x}/{y}.png" and placed beside tileserver.php but cannot get it done for other layers such as a folder structure "sample/os_{x}{y}{z}.png" or different .mbtiles or just metadata.json i think metadata.json files are ok because i can work with maps in web page with no problem. i know there are two other issues regarding arcmap here and i tried @daliborjanak suggestion in issue 87 https://github.com/maptiler/tileserver-php/issues/87# with no success.
in the previous comment sample/os_{x}{y}{z}.png" is mis-typed it is sample/os_{x}-underline-{y}-underline-{z}.png"
my further investigations show if i put tiles in folder/z/x/y.ext folder structure and this folder name match the folder name in tileserver main folder and the layer name in metadata.json be the same, tiles can be loaded in arcmap! i wonder why the "tile" parameter of metadata.json is not used in creating wmts xml and x/y/z is hard-coded there?