Openlayers Client - Layer orthos3
Bounding Box
-180.0, -90.0, 180.0, 90.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 0.7031249999999999 |
1 | 0.3515624999999999 |
2 | 0.17578124999999992 |
3 | 0.08789062499999994 |
4 | 0.043945312499999965 |
5 | 0.02197265624999998 |
6 | 0.010986328124999988 |
7 | 0.005493164062499993 |
8 | 0.002746582031249996 |
9 | 0.0013732910156249978 |
10 | 0.0006866455078124988 |
11 | 0.00034332275390624935 |
12 | 0.00017166137695312465 |
13 | 8.583068847656231e-05 |
14 | 4.291534423828115e-05 |
15 | 2.145767211914057e-05 |
16 | 1.0728836059570284e-05 |
17 | 5.364418029785141e-06 |
18 | 2.68220901489257e-06 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:4326'), maxResolution: 0.7031249999999999, units: 'degree', numZoomLevels: 19, maxExtent: new OpenLayers.Bounds(-180.0, -90.0, 180.0, 90.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS orthos3', '../tms/', {layername: 'orthos3/EPSG4326', type: 'jpeg', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(-180.00, -90.00, 180.00, 90.00)); } </script>