Openlayers Client - Layer orthos3
Bounding Box
-1358815.7924522175, 4965403.115654955, 1324033.3244087778, 6824674.900778689
Level and Resolutions
Level | Resolution |
---|---|
0 | 5291.67725002 |
1 | 5200 |
2 | 2800 |
3 | 2645.83862501 |
4 | 1400 |
5 | 1322.919312505 |
6 | 699.9999999999999 |
7 | 661.459656252646 |
8 | 560.0 |
9 | 280.0 |
10 | 264.5838625010584 |
11 | 140.0 |
12 | 132.2919312505292 |
13 | 70.0 |
14 | 66.1459656252646 |
15 | 27.999999999999996 |
16 | 26.458386250105832 |
17 | 13.999999999999998 |
18 | 13.229193125052916 |
19 | 6.999999999999999 |
20 | 6.614596562526458 |
21 | 5.6 |
22 | 3.4999999999999996 |
23 | 2.8 |
24 | 2.6458386250105836 |
25 | 2.0999999999999996 |
26 | 1.4 |
27 | 1.3229193125052918 |
28 | 0.84 |
29 | 0.7 |
30 | 0.6614596562526459 |
31 | 0.27999999999999997 |
32 | 0.26458386250105836 |
33 | 0.13999999999999999 |
34 | 0.13229193125052918 |
35 | 0.08399999999999999 |
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: 5291.67725002, resolutions: [5291.67725002, 5200, 2800, 2645.83862501, 1400, 1322.919312505, 699.9999999999999, 661.459656252646, 560.0, 280.0, 264.5838625010584, 140.0, 132.2919312505292, 70.0, 66.1459656252646, 27.999999999999996, 26.458386250105832, 13.999999999999998, 13.229193125052916, 6.999999999999999, 6.614596562526458, 5.6, 3.4999999999999996, 2.8, 2.6458386250105836, 2.0999999999999996, 1.4, 1.3229193125052918, 0.84, 0.7, 0.6614596562526459, 0.27999999999999997, 0.26458386250105836, 0.13999999999999999, 0.13229193125052918, 0.08399999999999999], units: 'm', numZoomLevels: 36, maxExtent: new OpenLayers.Bounds(-1358815.7924522175, 4965403.115654955, 1324033.3244087778, 6824674.900778689) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS orthos3', '../tms/', {layername: 'orthos3/EPSG3857', type: 'jpeg', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(-1358815.79, 4965403.12, 1324033.32, 6824674.90)); } </script>