Openlayers Client - Layer topo_gr
Bounding Box
0.0, 0.0, 150000.0, 200000.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 500 |
1 | 250 |
2 | 150 |
3 | 100 |
4 | 50 |
5 | 20 |
6 | 10 |
7 | 5 |
8 | 2 |
9 | 1 |
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, 1, 0.5], units: 'm', numZoomLevels: 11, maxExtent: new OpenLayers.Bounds(0.0, 0.0, 150000.0, 200000.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS topo_gr', '../tms/', {layername: 'topo_gr/EPSG2169', type: 'png', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(0.00, 0.00, 150000.00, 200000.00)); } </script>