Cesium加载geoserver发布的arcgis切片 4326坐标系

const provider = new Cesium.WebMapTileServiceImageryProvider({
        url: "http://192.168.1.200:8090/geoserver/gwc/service/wmts/rest/bg_light_map84/{style}/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png",
        layer: 'bg_light_map84',
        format: "image/png",
        style: '',
        tileMatrixSetID: 'EPSG:4326_bg_light_map84',
        tileMatrixLabels: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20"],
        tilingScheme: new Cesium.GeographicTilingScheme(),
    });
const wmtsLayer = viewer.imageryLayers.addImageryProvider(provider);

geoserver wmts配置文件

Cesium加载geoserver发布的arcgis切片 4326坐标系_第1张图片

你可能感兴趣的:(Cesium学习笔记,cesium,geoserver)