Openlayers Client - Layer osm:Hydranty_active

Coordinate SystemImage format
png

Bounding Box

144907.165815, 129171.692173, 926415.155387, 910679.681745

Level and Resolutions

LevelResolution
03052.76558426
11526.38279213
2763.191396066
3381.595698033
4190.797849016
595.3989245082
647.6994622541
723.8497311271
811.9248655635
95.96243278176
102.98121639088
111.49060819544
120.745304097721
130.37265204886

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:2180'),
    maxResolution: 3052.76558426,
    resolutions: [3052.76558426, 1526.38279213, 763.191396066, 381.595698033,
190.797849016, 95.3989245082, 47.6994622541, 23.8497311271, 11.9248655635, 5.96243278176,
2.98121639088, 1.49060819544, 0.745304097721, 0.37265204886],
    units: 'm',
    numZoomLevels: 14,
    maxExtent: new OpenLayers.Bounds(144907.165815, 129171.692173, 926415.155387,
910679.681745)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(144907.17, 129171.69, 926415.16, 910679.68));
}
</script>