In the HTML example below the tileMatrixSet and identifier are set to display the imagery from Wayback on 2017-03-15. Zooming in once will correctly get data from 3-15-2017. But zooming in again will switch to 4-20-2014 data See figures 1-3
What does it switch, and how can I determine when it will switch and to what date.
___________________
The following html code will display the issue
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Wayback Issue</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.32/esri/css/esri.css">
<style>
html, body, #map {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
</style>
<script src="https://js.arcgis.com/3.32/"></script>
<script>
require([
"dojo/dom-construct",
"esri/map",
"esri/geometry/Extent",
"esri/layers/WMTSLayerInfo",
"esri/layers/WMTSLayer",
"dojo/domReady!"
], function(
domConstruct,
Map,
Extent,
WMTSLayerInfo,
WMTSLayer
) {
var bounds = new Extent({
'xmin':4488937.02310209,
'ymin':-1222356.1703367431,
'xmax':4555437.237710103,
'ymax':-1191781.359022714,
'spatialReference':{'wkid':102100}
});
var layerInfo = new WMTSLayerInfo({
identifier: 'WB_2015_R23', format: 'jpeg',
tileMatrixSet: 'default028mm'});
var options = {layerInfo : layerInfo, serviceMode: 'KVP' };
url = 'https://wayback.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer';
https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer
var wmtsLayer = new WMTSLayer(url, options);
self.map = new Map('map',
{
basemap: 'topo-vector',
extent: bounds,
sliderPosition: 'top-right',
logo: false
});
self.map.addLayer(wmtsLayer);
}
);
</script>
</head>
<body>
<div id="map"></div>
</body>
</html>
---------------------end of code _________________________
Note the following urls may be of help
(cf https://wayback.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer?request=GetCapabili... to verify that "WB_2017_R05" correlated to 2017-03-15
was captured via fiddler for the 2017 data
was captured via fiddler for the 2014 data. Note the value after tile changed.
The following code suggest that the LODs exist for zoom level much lower than the 1:20,000 in question
{"templateUrl":"https://wayback.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/WMTS/1.0.0/default028mm/MapServer/tile/28163/{level}/{row}/{col}","copyright":"","fullExtent":{"xmin":-20037507.229594,"ymin":-20037508.626927227,"xmax":20037507.229594,"ymax":20037508.626927227,"spatialReference":{"wkid":102100}},"tileInfo":{"rows":256,"cols":256,"dpi":96,"origin":{"x":-20037508.342787,"y":20037508.342787,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":102100},"lods":[{"level":0,"levelValue":"0","resolution":156543.03392798046,"scale":591658710.9089025},{"level":1,"levelValue":"1","resolution":78271.5169639901,"scale":295829355.4544507},{"level":2,"levelValue":"2","resolution":39135.75848199517,"scale":147914677.72722584},{"level":3,"levelValue":"3","resolution":19567.879240997456,"scale":73957338.86361243},{"level":4,"levelValue":"4","resolution":9783.939620498726,"scale":36978669.43180621},{"level":5,"levelValue":"5","resolution":4891.969810249364,"scale":18489334.715903107},{"level":6,"levelValue":"6","resolution":2445.984905124682,"scale":9244667.357951554},{"level":7,"levelValue":"7","resolution":1222.992452562341,"scale":4622333.678975777},{"level":8,"levelValue":"8","resolution":611.4962262813027,"scale":2311166.8394883885},{"level":9,"levelValue":"9","resolution":305.74811314051914,"scale":1155583.4197436941},{"level":10,"levelValue":"10","resolution":152.87405657039182,"scale":577791.7098723471},{"level":11,"levelValue":"11","resolution":76.43702828506362,"scale":288895.85493567353},{"level":12,"levelValue":"12","resolution":38.21851414253181,"scale":144447.92746783677},{"level":13,"levelValue":"13","resolution":19.109257071265905,"scale":72223.96373391838},{"level":14,"levelValue":"14","resolution":9.554628535632952,"scale":36111.98186695919},{"level":15,"levelValue":"15","resolution":4.7773142679487695,"scale":18055.9909339796},{"level":16,"levelValue":"16","resolution":2.3886571339743847,"scale":9027.9954669898},{"level":17,"levelValue":"17","resolution":1.1943285668549,"scale":4513.997732994898},{"level":18,"levelValue":"18","resolution":0.597164283559742,"scale":2256.99886699745},{"level":19,"levelValue":"19","resolution":0.2985821416475791,"scale":1128.4994329987242},{"level":20,"levelValue":"20","resolution":0.14929107082378956,"scale":564.2497164993621},{"level":21,"levelValue":"21","resolution":0.07464553541189478,"scale":282.12485824968104},{"level":22,"levelValue":"22","resolution":0.03732276770594739,"scale":141.06242912484052},{"level":23,"levelValue":"23","resolution":0.018661383852973695,"scale":70.53121456242026}]},"wmtsInfo":{"url":"https://wayback.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer","layerIdentifier":"WB_2015_R23","tileMatrixSet":"default028mm"}