自学内容网 自学内容网

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配置文件


原文地址:https://blog.csdn.net/u011332271/article/details/136238058

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!