Openlayers Client - Layer osm3_2154_gray
Bounding Box
-357824.0, 6037007.0, 1313633.0, 7230727.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 25.2 |
1 | 22.4 |
2 | 19.599999999999998 |
3 | 16.799999999999997 |
4 | 13.999999999999998 |
5 | 11.2 |
6 | 8.399999999999999 |
7 | 5.6 |
8 | 2.8 |
9 | 1.4 |
10 | 0.7 |
11 | 0.5599999999999999 |
12 | 0.35 |
13 | 0.28 |
14 | 0.14 |
15 | 0.07 |
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: 25.2, resolutions: [25.2, 22.4, 19.599999999999998, 16.799999999999997, 13.999999999999998, 11.2, 8.399999999999999, 5.6, 2.8, 1.4, 0.7, 0.5599999999999999, 0.35, 0.28, 0.14, 0.07], 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 osm3_2154_gray', '../tms/', {layername: 'osm3_2154_gray/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>