Openlayers Client - Layer LC08_L1TP_114029_20220114_MSAVI_3857.tiff

Coordinate SystemImage format
png

Bounding Box

-20037508.3428, -20037508.3428, 20037508.3428, 20037508.3428

Level and Resolutions

LevelResolution
078271.516964
139135.758482
219567.879241
39783.9396205
44891.96981025
52445.98490513
61222.99245256
7611.496226281
8305.748113141
9152.87405657
1076.4370282852
1138.2185141426
1219.1092570713
139.55462853565
144.77731426782
152.38865713391
161.19432856696
170.597164283478
180.298582141739

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:900913'),
    maxResolution: 78271.516964,
    units: 'm',
    numZoomLevels: 19,
    maxExtent: new OpenLayers.Bounds(-20037508.3428, -20037508.3428, 20037508.3428,
20037508.3428)
    };

    map = new OpenLayers.Map('map', mapOptions);

    var layer = new OpenLayers.Layer.TMS('TMS LC08_L1TP_114029_20220114_MSAVI_3857.tiff',
'../tms/',
        {layername: 'LC08_L1TP_114029_20220114_MSAVI_3857.tiff/GLOBAL_MERCATOR', type:
'png',
         tileSize: new OpenLayers.Size(256, 256)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34,
20037508.34));
}
</script>