Openlayers Client - Layer ortho_gms
Bounding Box
636000.0, 6350000.0, 730000.0, 6500000.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 500 |
1 | 250 |
2 | 150 |
3 | 100 |
4 | 50 |
5 | 20 |
6 | 10 |
7 | 5 |
8 | 2 |
9 | 1 |
10 | 0.5 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:3857'), maxResolution: 500, resolutions: [500, 250, 150, 100, 50, 20, 10, 5, 2, 1, 0.5], units: 'm', numZoomLevels: 11, maxExtent: new OpenLayers.Bounds(636000.0, 6350000.0, 730000.0, 6500000.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS ortho_gms', '../tms/', {layername: 'ortho_gms/EPSG3857', type: 'jpeg', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(636000.00, 6350000.00, 730000.00, 6500000.00)); } </script>