Openlayers Client - Layer DIOSDORTO
Bounding Box
639700.0, 227600.0, 643900.0, 231100.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 16.0 |
1 | 8.0 |
2 | 4.0 |
3 | 2.0 |
4 | 1.0 |
5 | 0.5 |
6 | 0.25 |
7 | 0.125 |
8 | 0.0625 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:23700'), maxResolution: 16.0, resolutions: [16.0, 8.0, 4.0, 2.0, 1.0, 0.5, 0.25, 0.125, 0.0625], units: 'm', numZoomLevels: 9, maxExtent: new OpenLayers.Bounds(639700.0, 227600.0, 643900.0, 231100.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS DIOSDORTO', '../tms/', {layername: 'DIOSDORTO/Diosd', type: 'png', tileSize: new OpenLayers.Size(512, 512) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(639700.00, 227600.00, 643900.00, 231100.00)); } </script>