Cesium 加载栅格切片

Cesium加载栅格切片,使用WebMapTileServiceImageryProvider加载栅格地图栅格切片服务,支持两种方式key-value和rest

1.key-value模式

var _matrixIds = ['EPSG:4326:0', 'EPSG:4326:1', 'EPSG:4326:2', 'EPSG:4326:3', 'EPSG:4326:4', 'EPSG:4326:5', 'EPSG:4326:6', 'EPSG:4326:7', 'EPSG:4326:8', 'EPSG:4326:9', 'EPSG:4326:10',
                        'EPSG:4326:11', 'EPSG:4326:12', 'EPSG:4326:13', 'EPSG:4326:14', 'EPSG:4326:15', 'EPSG:4326:16', 'EPSG:4326:17', 'EPSG:4326:18', 'EPSG:4326:19', 'EPSG:4326:20', 'EPSG:4326:21'
                    ];

var _wmtsImageryProvider = new Cesium.WebMapTileServiceImageryProvider({
                        url: _layerUrl, //服务地址,如:'http://localhost:8080/geoserver/gwc/service/wmts'
                        layer: "wuhan_base:

你可能感兴趣的:(Cesium,前端,Cesium,4490,3857,4326)