Openlayers Client - Layer douglascone_aerial_2020_test_layer
Bounding Box
-10742661.370356232, 5030983.875005046, -10668846.042589178, 5080015.410766022
Level and Resolutions
Level | Resolution |
---|---|
0 | 156543.033928041 |
1 | 78271.5169640205 |
2 | 39135.7584820102 |
3 | 19567.8792410051 |
4 | 9783.9396205026 |
5 | 4891.9698102513 |
6 | 2445.9849051256 |
7 | 1222.9924525628 |
8 | 611.4962262814 |
9 | 305.7481131407 |
10 | 152.8740565704 |
11 | 76.4370282852 |
12 | 38.2185141426 |
13 | 19.1092570713 |
14 | 9.5546285356 |
15 | 4.7773142678 |
16 | 2.3886571339 |
17 | 1.194328567 |
18 | 0.5971642835 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:102100'), maxResolution: 156543.033928041, resolutions: [156543.033928041, 78271.5169640205, 39135.7584820102, 19567.8792410051, 9783.9396205026, 4891.9698102513, 2445.9849051256, 1222.9924525628, 611.4962262814, 305.7481131407, 152.8740565704, 76.4370282852, 38.2185141426, 19.1092570713, 9.5546285356, 4.7773142678, 2.3886571339, 1.194328567, 0.5971642835], units: 'm', numZoomLevels: 19, maxExtent: new OpenLayers.Bounds(-10742661.370356232, 5030983.875005046, -10668846.042589178, 5080015.410766022) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS douglascone_aerial_2020_test_layer', '../tms/', {layername: 'douglascone_aerial_2020_test_layer/EPSG102100', type: 'jpeg', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(-20037508.00, -20037508.00, 20037508.00, 20037508.00)); } </script>