Openlayers Client - Layer LM-orto

Coordinate SystemImage format
jpeg

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:3857'),
    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 LM-orto', '../tms/',
        {layername: 'LM-orto/lm_grid', type: 'jpeg',
         tileSize: new OpenLayers.Size(256, 256)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(1224514.40, 7170156.29, 2782987.27,
9876845.90));
}
</script>