Openlayers Client - Layer zarenforcee
Bounding Box
-357824.0, 6037007.0, 1313633.0, 7230727.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 2257.77655858 |
1 | 1128.88827929 |
2 | 564.444139645 |
3 | 282.222069822 |
4 | 141.111034911 |
5 | 88.1943968195 |
6 | 35.2777587278 |
7 | 17.6388793639 |
8 | 8.81943968195 |
9 | 5.29166380917 |
10 | 3.52777587278 |
11 | 1.76388793639 |
12 | 1.05833276183 |
13 | 0.529166380917 |
14 | 0.3527775873 |
15 | 0.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 zarenforcee', '../tms/', {layername: 'zarenforcee/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>