Openlayers Client - Layer WorldOceanBase

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

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: 10,
    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 WorldOceanBase', '../tms/',
        {layername: 'WorldOceanBase/EPSG900913', 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>