Openlayers Client - Layer ortofoto_2010
Bounding Box
-600000.0, -1346200.0, -143625.0, -1120000.0
Level and Resolutions
| Level | Resolution |
|---|---|
| 0 | 2048.256 |
| 1 | 1024.128 |
| 2 | 512.064 |
| 3 | 256.032 |
| 4 | 128.016 |
| 5 | 64.008 |
| 6 | 32.004 |
| 7 | 16.002 |
| 8 | 8.001 |
| 9 | 4.0005 |
| 10 | 2.00025 |
| 11 | 1.000125 |
| 12 | 0.5000625 |
| 13 | 0.25003125 |
| 14 | 0.125015625 |
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
var mapOptions = {
projection: new OpenLayers.Projection('EPSG:5514'),
maxResolution: 2048.256,
resolutions: [2048.256, 1024.128, 512.064, 256.032, 128.016, 64.008, 32.004, 16.002,
8.001, 4.0005, 2.00025, 1.000125, 0.5000625, 0.25003125, 0.125015625],
units: 'm',
numZoomLevels: 15,
maxExtent: new OpenLayers.Bounds(-600000.0, -1346200.0, -143625.0, -1120000.0)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.TMS('TMS ortofoto_2010', '../tms/',
{layername: 'ortofoto_2010/EPSG5514', type: 'jpeg',
tileSize: new OpenLayers.Size(256, 256)
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(-600000.00, -1346200.00, -143625.00,
-1120000.00));
}
</script>