Openlayers Client - Layer mars_hips_north_polar
Coordinate System | Image format |
---|---|
png |
Bounding Box
-2000000.0, -2000000.0, 6000000.0, 6000000.0
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:32661'), resolutions: [31250, 15625.0, 7812.5, 3906.25, 1953.125, 976.5625, 488.28125, 244.140625, 122.0703125, 61.03515625, 30.517578125, 15.2587890625, 7.62939453125, 3.814697265625, 1.9073486328125, 0.95367431640625, 0.476837158203125, 0.2384185791015625, 0.11920928955078125, 0.059604644775390625], units: 'm', maxExtent: new OpenLayers.Bounds(-2000000.0, -2000000.0, 6000000.0, 6000000.0), tileSize: new OpenLayers.Size(256, 256) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.WMTS({ name: "WMTS mars_hips_north_polar", url: '../wmts/mars_hips_north_polar/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png', layer: 'mars_hips_north_polar', matrixSet: 'north_polar', format: 'png', isBaseLayer: true, style: 'default', requestEncoding: 'REST' }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(-2000000.00, -2000000.00, 6000000.00, 6000000.00)); } </script>