Openlayers Client - Layer 1928_Mapa_ewidencyjna

Coordinate SystemImage format
png

Bounding Box

8363800.0, 5639800.0, 8429200.0, 5714650.0

Level and Resolutions

LevelResolution
056
128
214
37
42.8
51.4
60.56
70.28
80.14
90.07

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:2179'),
    maxResolution: 56,
    resolutions: [56, 28, 14, 7, 2.8, 1.4, 0.56, 0.28, 0.14, 0.07],
    units: 'm',
    numZoomLevels: 10,
    maxExtent: new OpenLayers.Bounds(8363800.0, 5639800.0, 8429200.0, 5714650.0)
    };

    map = new OpenLayers.Map('map', mapOptions);

    var layer = new OpenLayers.Layer.TMS('TMS 1928_Mapa_ewidencyjna', '../tms/',
        {layername: '1928_Mapa_ewidencyjna/lof', type: 'png',
         tileSize: new OpenLayers.Size(256, 256)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(8395057.84, 5674939.17, 8404262.63,
5683847.03));
}
</script>