Openlayers Client - Layer mars_hips_north_polar
Bounding Box
-2000000.0, -2000000.0, 6000000.0, 6000000.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 31250 |
1 | 15625.0 |
2 | 7812.5 |
3 | 3906.25 |
4 | 1953.125 |
5 | 976.5625 |
6 | 488.28125 |
7 | 244.140625 |
8 | 122.0703125 |
9 | 61.03515625 |
10 | 30.517578125 |
11 | 15.2587890625 |
12 | 7.62939453125 |
13 | 3.814697265625 |
14 | 1.9073486328125 |
15 | 0.95367431640625 |
16 | 0.476837158203125 |
17 | 0.2384185791015625 |
18 | 0.11920928955078125 |
19 | 0.059604644775390625 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:32661'), maxResolution: 31250, resolutions: [31250, 15625.0, 7812.5, 3906.25, 1953.125, 976.5625, 488.28125, 244.140625, 122.0703125, 61.03515625, 30.517578125, 15.2587890625, 7.62939453125, 3.814697265625, 1.9073486328125, 0.95367431640625, 0.476837158203125, 0.2384185791015625, 0.11920928955078125, 0.059604644775390625], units: 'm', numZoomLevels: 20, maxExtent: new OpenLayers.Bounds(-2000000.0, -2000000.0, 6000000.0, 6000000.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS mars_hips_north_polar', '../tms/', {layername: 'mars_hips_north_polar/north_polar', type: 'png', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(-2000000.00, -2000000.00, 6000000.00, 6000000.00)); } </script>