Openlayers Client - Layer ortho_2010
Bounding Box
48000.0, 57000.0, 107000.0, 139000.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 500 |
1 | 250 |
2 | 150 |
3 | 100 |
4 | 50 |
5 | 20 |
6 | 10 |
7 | 5 |
8 | 2.0 |
9 | 1.0 |
10 | 0.5 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:2169'), maxResolution: 500, resolutions: [500, 250, 150, 100, 50, 20, 10, 5, 2.0, 1.0, 0.5], units: 'm', numZoomLevels: 11, maxExtent: new OpenLayers.Bounds(48000.0, 57000.0, 107000.0, 139000.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS ortho_2010', '../tms/', {layername: 'ortho_2010/EPSG2169', type: 'png', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(48000.00, 57000.00, 107000.00, 139000.00)); } </script>