I want to display wmts layer (in KVP mode) in every scales using arcgis_js_api 3.4.
When I create wmts layer and set MapWidget.scale to one that isn't in the wmts capabilities level description, layer just disappear.
I wrote a js code scaling the image to match scale in the map by divide lod.scale/map.scale and rescaling the image position on the map.
But now with more diffrence between original lod.scale and map.scale i can see that wmts doesn't match the rigth position on the map.
Is there a simple way to rescaling this wmts layer?
أكثر...
When I create wmts layer and set MapWidget.scale to one that isn't in the wmts capabilities level description, layer just disappear.
I wrote a js code scaling the image to match scale in the map by divide lod.scale/map.scale and rescaling the image position on the map.
But now with more diffrence between original lod.scale and map.scale i can see that wmts doesn't match the rigth position on the map.
Is there a simple way to rescaling this wmts layer?
أكثر...