Openlayers Client - Layer cityplan_dpt

Coordinate SystemImage format
png

Bounding Box

-20037508.342789244, -20037508.342789244, 20037508.342789244, 20037508.342789244

Level and Resolutions

LevelResolution
078271.51696402048
139135.75848201024
219567.87924100512
39783.93962050256
44891.96981025128
52445.98490512564
61222.99245256282
7611.49622628141
8305.748113140705
9152.8740565703525
1076.43702828517625
1138.21851414258813
1219.109257071294063
139.554628535647032
144.777314267823516
152.388657133911758
161.194328566955879
170.5971642834779395
180.29858214173896974
190.14929107086948487
200.07464553543474244
210.03732276771737122
220.01866138385868561

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.51696402048,
    units: 'm',
    numZoomLevels: 23,
    maxExtent: new OpenLayers.Bounds(-20037508.342789244, -20037508.342789244,
20037508.342789244, 20037508.342789244)
    };

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

    var layer = new OpenLayers.Layer.TMS('TMS cityplan_dpt', '../tms/',
        {layername: 'cityplan_dpt/EPSG3857', 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>