Openlayers Client - Layer tmcell5514
| Coordinate System | Image format |
|---|---|
| png |
Bounding Box
-1400000.0, -1600000.0, 200000.0, -500000.0
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
var mapOptions = {
projection: new OpenLayers.Projection('EPSG:5514'),
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',
maxExtent: new OpenLayers.Bounds(-1400000.0, -1600000.0, 200000.0, -500000.0),
tileSize: new OpenLayers.Size(256, 256)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.WMTS({
name: "WMTS tmcell5514",
url: '../wmts/tmcell5514/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png',
layer: 'tmcell5514',
matrixSet: 'ejtsk',
format: 'png',
isBaseLayer: true,
style: 'default',
requestEncoding: 'REST'
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(-1400000.00, -1600000.00, 200000.00,
-500000.00));
}
</script>