Openlayers Client - Layer coursdeauautres

Coordinate SystemImage format
png

Bounding Box

-357824.0, 6037007.0, 1313633.0, 7230727.0

Level and Resolutions

LevelResolution
02257.77655858
11128.88827929
2564.444139645
3282.222069822
4141.111034911
588.1943968195
635.2777587278
717.6388793639
88.81943968195
95.29166380917
103.52777587278
111.76388793639
121.05833276183
130.529166380917
140.3527775873
150.1763887936

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:2154'),
    maxResolution: 2257.77655858,
    resolutions: [2257.77655858, 1128.88827929, 564.444139645, 282.222069822,
141.111034911, 88.1943968195, 35.2777587278, 17.6388793639, 8.81943968195, 5.29166380917,
3.52777587278, 1.76388793639, 1.05833276183, 0.529166380917, 0.3527775873, 0.1763887936],
    units: 'm',
    numZoomLevels: 16,
    maxExtent: new OpenLayers.Bounds(-357824.0, 6037007.0, 1313633.0, 7230727.0)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(-357824.00, 6037007.00, 1313633.00,
7230727.00));
}
</script>