Openlayers Client - Layer SOSKUTORTO
Bounding Box
629250.0, 225600.0, 637200.0, 233100.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(629250.0, 225600.0, 637200.0, 233100.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS SOSKUTORTO', '../tms/', {layername: 'SOSKUTORTO/Soskut', type: 'png', tileSize: new OpenLayers.Size(512, 512) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(629250.00, 225600.00, 637200.00, 233100.00)); } </script>